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

Unified Diff: tests/compiler/dart2js/closure/data/nested_closures.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/nested_closures.dart
diff --git a/tests/compiler/dart2js/closure/data/nested_closures.dart b/tests/compiler/dart2js/closure/data/nested_closures.dart
index 5644d118a68e15ba9d6bf2a41d28a83f64339cc9..ac3d807609376f804c2e81c91f8ba1f3b0b8a4da 100644
--- a/tests/compiler/dart2js/closure/data/nested_closures.dart
+++ b/tests/compiler/dart2js/closure/data/nested_closures.dart
@@ -4,7 +4,7 @@
/// Test boxing/captures for nested closures.
-/*useOne:box=(box0 which holds [b1])*/ useOne(/*boxed*/ b1) {
+/*element: useOne:box=(box0 which holds [b1])*/ useOne(/*boxed*/ b1) {
/*box=(box1 which holds [b2]),free=[b1,box0]*/ () {
var /*boxed*/ b2 = (b1 = 1);
@@ -17,7 +17,7 @@
return b1;
}
-/*useBoth:box=(box0 which holds [b1])*/ useBoth(/*boxed*/ b1) {
+/*element: useBoth:box=(box0 which holds [b1])*/ useBoth(/*boxed*/ b1) {
/*box=(box1 which holds [b2]),free=[b1,box0]*/ () {
var /*boxed*/ b2 = (b1 = 1);
@@ -30,7 +30,8 @@
return b1;
}
-/*useMany:box=(box0 which holds [b1,b2,b3])*/ useMany(c1, /*boxed*/ b1) {
+/*element: useMany:box=(box0 which holds [b1,b2,b3])*/
+useMany(c1, /*boxed*/ b1) {
var /*boxed*/ b2 = 2;
var /*boxed*/ b3 = 3;
var c2 = 2;
« no previous file with comments | « tests/compiler/dart2js/closure/data/mutations.dart ('k') | tests/compiler/dart2js/equivalence/id_equivalence.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698