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

Unified Diff: lib/src/checker/resolver.dart

Issue 1228063003: fix for 1.12.0-dev SDK and 0.25.1 analyzer breaking changes (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 5 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
Index: lib/src/checker/resolver.dart
diff --git a/lib/src/checker/resolver.dart b/lib/src/checker/resolver.dart
index 8df623c248cc9f5b2789030420577fd23a3818b8..df7e144243d09491ecdcb574da097ac63f48fe33 100644
--- a/lib/src/checker/resolver.dart
+++ b/lib/src/checker/resolver.dart
@@ -49,8 +49,9 @@ class LibraryResolverWithInference extends LibraryResolver {
void _resolveVariableReferences() {
for (Library library in resolvedLibraries) {
for (Source source in library.compilationUnitSources) {
- library.getAST(source).accept(
- new VariableResolverVisitor.con1(library, source, typeProvider));
+ library.getAST(source).accept(new VariableResolverVisitor(
+ library.libraryElement, source, typeProvider, library.errorListener,
+ nameScope: library.libraryScope));
}
}
}
@@ -358,7 +359,10 @@ class RestrictedResolverVisitor extends ResolverVisitor {
RestrictedResolverVisitor(Library library, Source source,
TypeProvider typeProvider, StrongModeOptions options)
: _typeProvider = typeProvider,
- super.con1(library, source, typeProvider,
+ super(
+ library.libraryElement, source, typeProvider, library.errorListener,
+ nameScope: library.libraryScope,
+ inheritanceManager: library.inheritanceManager,
typeAnalyzerFactory: RestrictedStaticTypeAnalyzer.constructor);
reanalyzeInitializer(VariableDeclaration variable) {
« no previous file with comments | « .gitignore ('k') | lib/src/codegen/ast_builder.dart » ('j') | lib/src/codegen/ast_builder.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698