Chromium Code Reviews| Index: tests/language/src/Prefix21NegativeTest.dart |
| diff --git a/tests/language/src/Prefix14NegativeTest.dart b/tests/language/src/Prefix21NegativeTest.dart |
| similarity index 59% |
| copy from tests/language/src/Prefix14NegativeTest.dart |
| copy to tests/language/src/Prefix21NegativeTest.dart |
| index 53624c9854e2b8d0156571b7b526d1ac83c02007..7b74a491e7dd6ecc8653d7c61602c81ee692c8ef 100644 |
| --- a/tests/language/src/Prefix14NegativeTest.dart |
| +++ b/tests/language/src/Prefix21NegativeTest.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. |
| +// VMOptions=--fatal-type-errors |
|
ericzundel
2011/12/22 21:53:10
--fatal-type-errors is dartc specific.
I think w
|
| -#library("Prefix14NegativeTest.dart"); |
| +#library("Prefix21NegativeTest.dart"); |
| #import("library12.dart", prefix:"lib12"); |
| class myClass { |
| - myClass(lib12.Library13 this.fld); |
| - lib12.Library13 fld; |
| + myClass(lib12.Library13 p) { // static type warning |
| + } |
| } |
| main() { |