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

Unified Diff: tests/compiler/dart2js/closure/data/mutations.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/mutations.dart
diff --git a/tests/compiler/dart2js/closure/data/mutations.dart b/tests/compiler/dart2js/closure/data/mutations.dart
index 2d7a0f4bee7b731ae989748069f5b982d157066f..9673ff8fd1b6e14f459f54dfcc398270dd1bdf68 100644
--- a/tests/compiler/dart2js/closure/data/mutations.dart
+++ b/tests/compiler/dart2js/closure/data/mutations.dart
@@ -4,7 +4,7 @@
// Test that captured variables are boxed regardless of where they are mutated.
-/*mutateUnused:*/
+/*element: mutateUnused:*/
mutateUnused() {
var localVar;
/**/ () {
@@ -14,7 +14,7 @@ mutateUnused() {
return localVar;
}
-/*mutateInClosure:box=(box0 which holds [localVar])*/
+/*element: mutateInClosure:box=(box0 which holds [localVar])*/
mutateInClosure() {
var /*boxed*/ localVar;
/*free=[box0,localVar]*/ () {
@@ -23,7 +23,7 @@ mutateInClosure() {
return localVar;
}
-/*mutateOutsideClosure:box=(box0 which holds [localVar])*/
+/*element: mutateOutsideClosure:box=(box0 which holds [localVar])*/
mutateOutsideClosure() {
var /*boxed*/ localVar;
/*free=[box0,localVar]*/ () {
@@ -33,7 +33,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/mixed.dart ('k') | tests/compiler/dart2js/closure/data/nested_closures.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698