Index: pkg/front_end/lib/src/fasta/source/scope_listener.dart |
diff --git a/pkg/front_end/lib/src/fasta/source/scope_listener.dart b/pkg/front_end/lib/src/fasta/source/scope_listener.dart |
index df763f7552734de34cd0dd14f6bc5d3778c72691..91997de197a0b09afd95804e4ee159185429a051 100644 |
--- a/pkg/front_end/lib/src/fasta/source/scope_listener.dart |
+++ b/pkg/front_end/lib/src/fasta/source/scope_listener.dart |
@@ -25,8 +25,7 @@ abstract class ScopeListener<J> extends UnhandledListener { |
J continueTarget; |
- ScopeListener(Scope scope) |
- : scope = scope ?? new Scope(const {}, null, isModifiable: false); |
+ ScopeListener(Scope scope) : scope = scope ?? new Scope.immutable(); |
J createJumpTarget(JumpTargetKind kind, int charOffset); |