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

Unified Diff: pkg/kernel/lib/transformations/closure/converter.dart

Issue 2777883002: Remove Fasta's copy of accessors.dart. (Closed)
Patch Set: Remove type checking of Rasta, not strong mode clean. Created 3 years, 9 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/kernel/lib/transformations/closure/converter.dart
diff --git a/pkg/kernel/lib/transformations/closure/converter.dart b/pkg/kernel/lib/transformations/closure/converter.dart
index a2a45e5c2e230a71771e93d1e6a036f57842f9b7..2f64971e0542daccbff2d2af1b5be1b8364ae758 100644
--- a/pkg/kernel/lib/transformations/closure/converter.dart
+++ b/pkg/kernel/lib/transformations/closure/converter.dart
@@ -266,7 +266,8 @@ class ClosureConverter extends Transformer {
type: contextClass.rawType,
isFinal: true);
Context parent = context;
- context = context.toNestedContext(new VariableAccessor(contextVariable));
+ context = context.toNestedContext(
+ new VariableAccessor(contextVariable, null, TreeNode.noOffset));
Set<TypeParameter> captured = capturedTypeVariables[currentFunction];
if (captured != null) {
« no previous file with comments | « pkg/kernel/lib/transformations/closure/context.dart ('k') | pkg/kernel/lib/transformations/closure/mock.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698