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

Unified Diff: pkg/analyzer/lib/src/generated/resolver.dart

Issue 2314963002: Remove the final error being generated in a scope (Closed)
Patch Set: Created 4 years, 3 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 | « pkg/analyzer/lib/src/generated/incremental_resolver.dart ('k') | pkg/analyzer/lib/src/task/dart.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/resolver.dart
diff --git a/pkg/analyzer/lib/src/generated/resolver.dart b/pkg/analyzer/lib/src/generated/resolver.dart
index 3ac1139db145fd32158307da7d3924ab496d392e..1ab010209a97c8d33cb496fc946440673cfa1437 100644
--- a/pkg/analyzer/lib/src/generated/resolver.dart
+++ b/pkg/analyzer/lib/src/generated/resolver.dart
@@ -7745,7 +7745,7 @@ abstract class ScopedVisitor extends UnifyingAstVisitor<Object> {
: source = source,
errorReporter = new ErrorReporter(errorListener, source) {
if (nameScope == null) {
- this.nameScope = new LibraryScope(definingLibrary, errorListener);
+ this.nameScope = new LibraryScope(definingLibrary);
} else {
this.nameScope = nameScope;
}
@@ -9338,7 +9338,7 @@ class TypeParameterBoundsResolver {
library, LibraryResolutionCapability.resolvedTypeNames)) {
bound.type = typeParameterElement.bound;
} else {
- libraryScope ??= new LibraryScope(library, errorListener);
+ libraryScope ??= new LibraryScope(library);
typeParametersScope ??= createTypeParametersScope();
typeNameResolver ??= new TypeNameResolver(new TypeSystemImpl(),
typeProvider, library, source, errorListener);
« no previous file with comments | « pkg/analyzer/lib/src/generated/incremental_resolver.dart ('k') | pkg/analyzer/lib/src/task/dart.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698