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

Unified Diff: tests/compiler/dart2js/closure/data/mixed.dart

Issue 3007903002: Support annotations on assignment and postfix operations (Closed)
Patch Set: Updated cf. comments Created 3 years, 3 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: tests/compiler/dart2js/closure/data/mixed.dart
diff --git a/tests/compiler/dart2js/closure/data/mixed.dart b/tests/compiler/dart2js/closure/data/mixed.dart
index c69e52c4002a42dee7f40635b5b4166a0a4fb097..971d3e1c268d2ade72c60921c15713c9c3161bfb 100644
--- a/tests/compiler/dart2js/closure/data/mixed.dart
+++ b/tests/compiler/dart2js/closure/data/mixed.dart
@@ -5,7 +5,7 @@
// Test that free variables aren't mixed between capturing and non-capturing
// closures.
-/*mutateInClosure:box=(box0 which holds [localVar])*/
+/*element: mutateInClosure:box=(box0 which holds [localVar])*/
mutateInClosure() {
var /*boxed*/ localVar;
/*free=[box0,localVar]*/ () {
@@ -17,7 +17,7 @@ mutateInClosure() {
return localVar;
}
-/*mutateOutsideClosure:box=(box0 which holds [localVar])*/
+/*element: mutateOutsideClosure:box=(box0 which holds [localVar])*/
mutateOutsideClosure() {
var /*boxed*/ localVar;
/*free=[box0,localVar]*/ () {
@@ -30,7 +30,7 @@ mutateOutsideClosure() {
return localVar;
}
-/*mutateInOtherClosure:box=(box0 which holds [localVar])*/
+/*element: mutateInOtherClosure:box=(box0 which holds [localVar])*/
mutateInOtherClosure() {
var /*boxed*/ localVar;
/*free=[box0,localVar]*/ () {
@@ -45,7 +45,7 @@ mutateInOtherClosure() {
return localVar;
}
-/*mutateInNestedClosure:box=(box0 which holds [localVar])*/
+/*element: mutateInNestedClosure:box=(box0 which holds [localVar])*/
mutateInNestedClosure() {
var /*boxed*/ localVar;
/*free=[box0,localVar]*/ () {
« no previous file with comments | « tests/compiler/dart2js/closure/data/captured_variable.dart ('k') | tests/compiler/dart2js/closure/data/mutations.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698