Chromium Code Reviews| Index: tests/compiler/dart2js_extra/23486_test.dart |
| diff --git a/tests/compiler/dart2js_extra/23486_test.dart b/tests/compiler/dart2js_extra/23486_test.dart |
| index 41fcf2d4b8b60793fd7369a8a3bc8c4d276fdcba..bc1a34210063640b010e6284833679d988253a5d 100644 |
| --- a/tests/compiler/dart2js_extra/23486_test.dart |
| +++ b/tests/compiler/dart2js_extra/23486_test.dart |
| @@ -16,7 +16,7 @@ class B { |
| class A extends B { |
| m() { |
| - (super).field = 1; /// 01: compile-time error |
| + (super).field = 1; //# 01: compile-time error |
| } |
| } |
| @@ -27,12 +27,12 @@ class C { |
| class D extends C { |
| D() : super(); |
| - D.name() : (super).name(); /// 02: compile-time error |
| + D.name() : (super).name(); //# 02: compile-time error |
| } |
| main() { |
| - Expect.throws(new A().m); /// 01: continued |
| - Expect.throws(() => new D.name()); /// 02: continued |
| - Expect.throws(() => (p).x); /// 03: compile-time error |
| + Expect.throws(new A().m); //# 01: continued |
|
Emily Fortuna
2017/03/21 00:49:05
Are you going to also adjust the whitespace in the
Jacob
2017/03/21 00:58:18
A separate even more awesome CL is fixing all the
|
| + Expect.throws(() => new D.name()); //# 02: continued |
| + Expect.throws(() => (p).x); //# 03: compile-time error |
| } |