Chromium Code Reviews| Index: tests/language/src/Prefix23NegativeTest.dart |
| diff --git a/tests/language/src/Prefix14NegativeTest.dart b/tests/language/src/Prefix23NegativeTest.dart |
| similarity index 52% |
| copy from tests/language/src/Prefix14NegativeTest.dart |
| copy to tests/language/src/Prefix23NegativeTest.dart |
| index 53624c9854e2b8d0156571b7b526d1ac83c02007..7819e900cc91acf63aa33e3a10380c1b8a7afc29 100644 |
| --- a/tests/language/src/Prefix14NegativeTest.dart |
| +++ b/tests/language/src/Prefix23NegativeTest.dart |
| @@ -2,14 +2,15 @@ |
| // 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. |
| // |
| -// Unresolved symbols should be reported as an error. |
| +// Unresolved symbols should be reported as an static type warnings. |
| +// In this variant of test we turn warnings into errors. |
| +// VMOptions=--fatal-type-errors --enable_type_errors |
|
regis
2012/02/23 19:39:33
The VM neither supports --fatal-type-errors nor --
|
| -#library("Prefix14NegativeTest.dart"); |
| +#library("Prefix22NegativeTest.dart"); |
| #import("library12.dart", prefix:"lib12"); |
| class myClass { |
| - myClass(lib12.Library13 this.fld); |
| - lib12.Library13 fld; |
| + lib12.Library13 fld; // static type warning |
| } |
| main() { |