| Index: tests/language_strong/constructor_duplicate_final_test.dart
|
| diff --git a/tests/language_strong/constructor_duplicate_final_test.dart b/tests/language_strong/constructor_duplicate_final_test.dart
|
| index 0c2169926cf9a316fcf4d3be395f07f5e6481798..e51f3124273b79bf9644ba458a989fc04fc4f94c 100644
|
| --- a/tests/language_strong/constructor_duplicate_final_test.dart
|
| +++ b/tests/language_strong/constructor_duplicate_final_test.dart
|
| @@ -8,17 +8,17 @@
|
| class Class {
|
| final f = 10;
|
|
|
| - Class(v) : f = v; // /// 01: runtime error, static type warning
|
| + Class(v) : f = v; // //# 01: runtime error, static type warning
|
|
|
| - Class(this.f); // /// 02: runtime error, static type warning
|
| + Class(this.f); // //# 02: runtime error, static type warning
|
|
|
| // If a field is initialized multiple times in the initializer
|
| // list, it's a compile time error.
|
| - Class(this.f) : f = 0; // /// 03: compile-time error
|
| + Class(this.f) : f = 0; // //# 03: compile-time error
|
| }
|
|
|
| main() {
|
| - new Class(5); // /// 01: continued
|
| - new Class(5); // /// 02: continued
|
| - new Class(5); // /// 03: continued
|
| + new Class(5); // //# 01: continued
|
| + new Class(5); // //# 02: continued
|
| + new Class(5); // //# 03: continued
|
| }
|
|
|