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

Unified Diff: dart/pkg/compiler/lib/src/elements/modelx.dart

Issue 735303002: Incremental compilation of added instance fields. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r41892 Created 6 years, 1 month 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: dart/pkg/compiler/lib/src/elements/modelx.dart
diff --git a/dart/pkg/compiler/lib/src/elements/modelx.dart b/dart/pkg/compiler/lib/src/elements/modelx.dart
index 7bac9123101b52820b9e258bc15defc34abbd32e..23a1a9933d5aba37a2b844e011e3407185cf4a4e 100644
--- a/dart/pkg/compiler/lib/src/elements/modelx.dart
+++ b/dart/pkg/compiler/lib/src/elements/modelx.dart
@@ -1261,6 +1261,11 @@ class FieldElementX extends VariableElementX
super.reuseElement();
nestedClosures.clear();
}
+
+ FieldElementX copyWithEnclosing(Element enclosingElement) {
+ return new FieldElementX(
+ new Identifier(token), enclosingElement, variables);
+ }
}
/// [Element] for a parameter-like element.

Powered by Google App Engine
This is Rietveld 408576698