Index: tests/compiler/dart2js_extra/basic_class_test.dart |
diff --git a/tests/compiler/dart2js_extra/basic_class_test.dart b/tests/compiler/dart2js_extra/basic_class_test.dart |
index 3ed652d10429c052cc33cc1c7491a294e4b83d3f..a84454f23d2a03e865f7b470aadec234d8e8b2dc 100644 |
--- a/tests/compiler/dart2js_extra/basic_class_test.dart |
+++ b/tests/compiler/dart2js_extra/basic_class_test.dart |
@@ -2,14 +2,11 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-class A { |
-} |
+class A {} |
-class SubA extends A { |
-} |
+class SubA extends A {} |
-class B { |
-} |
+class B {} |
void main() { |
A a; |
@@ -17,11 +14,19 @@ void main() { |
B b; |
a = a; |
a = subA; |
- a = b; /// 01: static type warning |
+ a = b; |
+ |
+ /// 01: static type warning |
Siggi Cherem (dart-lang)
2016/09/16 20:55:23
revert
Harry Terkelsen
2016/09/16 21:44:03
Done.
|
subA = a; |
subA = subA; |
- subA = b; /// 02: static type warning |
- b = a; /// 03: static type warning |
- b = subA; /// 04: static type warning |
+ subA = b; |
+ |
+ /// 02: static type warning |
+ b = a; |
+ |
+ /// 03: static type warning |
+ b = subA; |
+ |
+ /// 04: static type warning |
b = b; |
} |