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

Unified Diff: tests/compiler/dart2js/inference/data/super_set.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/inference/data/super_set.dart
diff --git a/tests/compiler/dart2js/inference/data/super_set.dart b/tests/compiler/dart2js/inference/data/super_set.dart
index eb77cbc2e3807ed719a67f1998b10a9baa4024b8..7d9c8224fa46166b1930aa54dac27c401a2baabf 100644
--- a/tests/compiler/dart2js/inference/data/super_set.dart
+++ b/tests/compiler/dart2js/inference/data/super_set.dart
@@ -3,12 +3,12 @@
// BSD-style license that can be found in the LICENSE file.
class Super {
- /*Super.field:Union of [[exact=JSUInt31], [exact=Sub]]*/
+ /*element: Super.field:Union of [[exact=JSUInt31], [exact=Sub]]*/
var field = 42;
}
class Sub extends Super {
- /*Sub.method:[subclass=Closure]*/
+ /*element: Sub.method:[subclass=Closure]*/
method() {
// ignore: INVALID_ASSIGNMENT
var a = super.field = new Sub();
@@ -16,7 +16,7 @@ class Sub extends Super {
}
}
-/*main:[null]*/
+/*element: main:[null]*/
main() {
- new Sub(). /*[exact=Sub]*/ method();
+ new Sub(). /*invoke: [exact=Sub]*/ method();
}
« no previous file with comments | « tests/compiler/dart2js/inference/data/super_get.dart ('k') | tests/compiler/dart2js/inference/inference_test_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698