| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 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. | |
| 4 // | |
| 5 // Unresolved symbols should be reported as an static type warnings. | |
| 6 // In this variant of test we turn warnings into errors. | |
| 7 // VMOptions= --enable_type_checks | |
| 8 | |
| 9 #library("Prefix21NegativeTest.dart"); | |
| 10 #import("library12.dart", prefix:"lib12"); | |
| 11 | |
| 12 class myClass { | |
| 13 myClass(lib12.Library13 p) { /// static type error | |
| 14 } | |
| 15 } | |
| 16 | |
| 17 main() { | |
| 18 new myClass(null); | |
| 19 } | |
| OLD | NEW |