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

Unified Diff: lib/src/testing.dart

Issue 1015843002: Turn on infer-from-overrides by default, rename inferStaticFromOtherStatics to (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: 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 e1af56d7089131df5453c005e7dafe92342bba60..bdb3120b37d8f2ce8789fba369b59c266a757783 100644
--- a/lib/src/testing.dart
+++ b/lib/src/testing.dart
@@ -51,7 +51,7 @@ CheckerResults testChecker(Map<String, String> testFiles,
{bool allowConstCasts: true, String sdkDir, CheckerReporter reporter,
covariantGenerics: true, relaxedCasts: true,
inferFromOverrides: ResolverOptions.inferFromOverridesDefault,
- inferStaticsFromIdentifiers: ResolverOptions.inferStaticsFromIdentifiersDefault,
+ inferTransitively: ResolverOptions.inferTransitivelyDefault,
nonnullableTypes: TypeOptions.NONNULLABLE_TYPES}) {
expect(testFiles.containsKey('/main.dart'), isTrue,
reason: '`/main.dart` is missing in testFiles');
@@ -63,7 +63,7 @@ CheckerResults testChecker(Map<String, String> testFiles,
covariantGenerics: covariantGenerics,
relaxedCasts: relaxedCasts,
inferFromOverrides: inferFromOverrides,
- inferStaticsFromIdentifiers: inferStaticsFromIdentifiers,
+ inferTransitively: inferTransitively,
nonnullableTypes: nonnullableTypes,
useMockSdk: sdkDir == null,
dartSdkPath: sdkDir,
« 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