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

Unified Diff: pkg/compiler/lib/src/ssa/builder.dart

Issue 2992863002: Support forEachClassMember on closure classes (Closed)
Patch Set: Updated cf. comments 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/compiler/lib/src/ssa/builder.dart
diff --git a/pkg/compiler/lib/src/ssa/builder.dart b/pkg/compiler/lib/src/ssa/builder.dart
index faca3c32a7d929ea0414f0aee549f1ed7ca24f71..a1e5bc439525cf4e64e6a16b994f6967502f8bf8 100644
--- a/pkg/compiler/lib/src/ssa/builder.dart
+++ b/pkg/compiler/lib/src/ssa/builder.dart
@@ -1879,7 +1879,7 @@ class SsaAstGraphBuilder extends ast.Visitor
TypeMask type = new TypeMask.nonNullExact(closureClassEntity, closedWorld);
push(new HCreate(closureClassEntity, capturedVariables, type,
- callMethod: closureInfo.callMethod, localFunction: methodElement)
+ callMethod: closureInfo.callMethod)
..sourceInformation = sourceInformationBuilder.buildCreate(node));
}
« no previous file with comments | « pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart ('k') | pkg/compiler/lib/src/ssa/builder_kernel.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698