Index: tests/language_strong/bad_constructor_test.dart |
diff --git a/tests/language_strong/bad_constructor_test.dart b/tests/language_strong/bad_constructor_test.dart |
index a1ed9a2bef85d81beda75dd8a631c3767db40596..0f3e6996d3370dd595979d4da140e7ad28a3e9c7 100644 |
--- a/tests/language_strong/bad_constructor_test.dart |
+++ b/tests/language_strong/bad_constructor_test.dart |
@@ -4,20 +4,20 @@ |
class A { |
// Constructor may not be static. |
- static A(); // /// 00: compile-time error |
+ static A(); // //# 00: compile-time error |
// Factory may not be static. |
- static factory A() { return null; } // /// 01: compile-time error |
+ static factory A() { return null; } // //# 01: compile-time error |
// Named constructor may not conflict with names of methods and fields. |
var m; |
- A.m() { m = 0; } // /// 04: compile-time error |
+ A.m() { m = 0; } // //# 04: compile-time error |
set q(var value) { m = q; } // No name conflict with q=. |
// The runtime error occurs because main calls new A() instead of new A.q(). |
- A.q(); // /// 05: runtime error |
+ A.q(); // //# 05: runtime error |
- A.foo() : m = 0; // /// 06: compile-time error |
+ A.foo() : m = 0; // //# 06: compile-time error |
int foo(int a, int b) => a + b * m; |
} |