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

Unified Diff: lib/src/checker/resolver.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 | « no previous file | lib/src/options.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/checker/resolver.dart
diff --git a/lib/src/checker/resolver.dart b/lib/src/checker/resolver.dart
index 0464a7b795031fb97d7816ae3f8cb28c8e801151..596de962cbdc1bb72c5e4afe10aaceddede3d9ff 100644
--- a/lib/src/checker/resolver.dart
+++ b/lib/src/checker/resolver.dart
@@ -324,11 +324,11 @@ class LibraryResolverWithInference extends LibraryResolver {
return _canInferFrom(expression.target);
}
if (expression is SimpleIdentifier || expression is PropertyAccess) {
- return _options.inferStaticsFromIdentifiers;
+ return _options.inferTransitively;
}
if (expression is PrefixedIdentifier) {
if (expression.staticElement is PropertyAccessorElement) {
- return _options.inferStaticsFromIdentifiers;
+ return _options.inferTransitively;
}
return _canInferFrom(expression.identifier);
}
« no previous file with comments | « no previous file | lib/src/options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698