Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(574)

Unified Diff: lib/src/testing.dart

Issue 1050703002: Downwards closure inference (Closed) Base URL: git@github.com:dart-lang/dart-dev-compiler.git@master
Patch Set: Address comments Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/options.dart ('k') | test/checker/inferred_type_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/testing.dart
diff --git a/lib/src/testing.dart b/lib/src/testing.dart
index f757930e5ccc6dd937206f1aa3813fa7fba5de44..b0014a5692c51c41460b8b297797ca613e568d0a 100644
--- a/lib/src/testing.dart
+++ b/lib/src/testing.dart
@@ -55,7 +55,8 @@ CheckerResults testChecker(Map<String, String> testFiles,
inferDownwards: RulesOptions.inferDownwardsDefault,
inferFromOverrides: ResolverOptions.inferFromOverridesDefault,
inferTransitively: ResolverOptions.inferTransitivelyDefault,
- nonnullableTypes: TypeOptions.NONNULLABLE_TYPES}) {
+ nonnullableTypes: TypeOptions.NONNULLABLE_TYPES,
+ wrapClosures: RulesOptions.wrapClosuresDefault}) {
expect(testFiles.containsKey('/main.dart'), isTrue,
reason: '`/main.dart` is missing in testFiles');
@@ -69,6 +70,7 @@ CheckerResults testChecker(Map<String, String> testFiles,
inferFromOverrides: inferFromOverrides,
inferTransitively: inferTransitively,
nonnullableTypes: nonnullableTypes,
+ wrapClosures: wrapClosures,
useMockSdk: sdkDir == null,
dartSdkPath: sdkDir,
runtimeDir: '/dev_compiler_runtime/',
« no previous file with comments | « lib/src/options.dart ('k') | test/checker/inferred_type_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698