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

Unified Diff: tests/compiler/dart2js/inference/data/super_set.dart

Issue 2939063002: Strong mode cleaning of many dart2js tests. (Closed)
Patch Set: Use ClassElement. Created 3 years, 6 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 937a147bbc926f9e18105e133c7ab898e8214300..eb77cbc2e3807ed719a67f1998b10a9baa4024b8 100644
--- a/tests/compiler/dart2js/inference/data/super_set.dart
+++ b/tests/compiler/dart2js/inference/data/super_set.dart
@@ -10,12 +10,13 @@ class Super {
class Sub extends Super {
/*Sub.method:[subclass=Closure]*/
method() {
+ // ignore: INVALID_ASSIGNMENT
var a = super.field = new Sub();
- return a./*[exact=Sub]*/method;
+ return a. /*[exact=Sub]*/ method;
Johnni Winther 2017/06/16 08:36:00 The added space breaks the inference tests.
ahe 2017/06/16 08:50:23 OK. That's on dartfmt. I'll discuss this in person
}
}
/*main:[null]*/
main() {
- new Sub()./*[exact=Sub]*/method();
+ new Sub(). /*[exact=Sub]*/ method();
}
« no previous file with comments | « tests/compiler/dart2js/in_user_code_test.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