| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 // | 4 // |
| 5 // Unresolved symbols should be reported as an error. | 5 // Unresolved symbols should be reported as an static type warnings. |
| 6 // VMOptions=--fatal-type-errors |
| 6 | 7 |
| 7 #library("Prefix14NegativeTest.dart"); | 8 #library("Prefix22NegativeTest.dart"); |
| 8 #import("library12.dart", prefix:"lib12"); | 9 #import("library12.dart", prefix:"lib12"); |
| 9 | 10 |
| 10 class myClass { | 11 class myClass { |
| 11 myClass(lib12.Library13 this.fld); | 12 lib12.Library13 fld; // static type warning |
| 12 lib12.Library13 fld; | |
| 13 } | 13 } |
| 14 | 14 |
| 15 main() { | 15 main() { |
| 16 } | 16 } |
| OLD | NEW |