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

Unified Diff: pkg/front_end/lib/src/fasta/scope.dart

Issue 3004973002: Revert "Store actual Reference(s) for additional exports." (Closed)
Patch Set: Update status file. Created 3 years, 4 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: pkg/front_end/lib/src/fasta/scope.dart
diff --git a/pkg/front_end/lib/src/fasta/scope.dart b/pkg/front_end/lib/src/fasta/scope.dart
index 54356f0ccb9e558536daf7c91d642671a8c8d38a..dec63216a427478f30dc12e9ea83b2b5bfd1a504 100644
--- a/pkg/front_end/lib/src/fasta/scope.dart
+++ b/pkg/front_end/lib/src/fasta/scope.dart
@@ -280,9 +280,7 @@ class ScopeBuilder {
scope.setters[name] = builder;
}
- Builder operator [](String name) {
- return scope.local[name] ?? scope.setters[name];
- }
+ Builder operator [](String name) => scope.local[name];
}
abstract class ProblemBuilder extends Builder {

Powered by Google App Engine
This is Rietveld 408576698