Index: pkg/fasta/lib/src/kernel/body_builder.dart |
diff --git a/pkg/fasta/lib/src/kernel/body_builder.dart b/pkg/fasta/lib/src/kernel/body_builder.dart |
index 293aa100b93097e91caa6f6a03cfc19c65be3fe6..f8e63d1184c68b585843a2b6df3156ada00a0a5b 100644 |
--- a/pkg/fasta/lib/src/kernel/body_builder.dart |
+++ b/pkg/fasta/lib/src/kernel/body_builder.dart |
@@ -1678,6 +1678,17 @@ class BodyBuilder extends ScopeListener<JumpTarget> implements BuilderHelper { |
exitLoopOrSwitch(result); |
} |
+ void beginForInExpression(Token token) { |
+ enterLocalScope(scope.parent); |
+ } |
+ |
+ void endForInExpression(Token token) { |
+ debugEvent("ForInExpression"); |
+ Expression expression = popForValue(); |
+ exitLocalScope(); |
+ push(expression ?? NullValue.Expression); |
+ } |
+ |
void endForIn( |
Token awaitToken, Token forToken, Token inKeyword, Token endToken) { |
debugEvent("ForIn"); |