| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 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 | 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 static type warnings. | 5 // Unresolved symbols should be reported as static type warnings. |
| 6 // This should not prevent execution. | 6 // This should not prevent execution. |
| 7 | 7 |
| 8 library Prefix21NegativeTest.dart; | 8 library Prefix21NegativeTest.dart; |
| 9 import "library12.dart" as lib12; | 9 import "library12.dart" as lib12; |
| 10 | 10 |
| 11 class myClass { | 11 class myClass { |
| 12 myClass(lib12.Library13 p) { /// static type warning | 12 myClass(lib12.Library13 p) { // /// static type warning |
| 13 } | 13 } |
| 14 } | 14 } |
| 15 | 15 |
| 16 main() { | 16 main() { |
| 17 new myClass(null); // no dynamic type error when assigning null | 17 new myClass(null); // no dynamic type error when assigning null |
| 18 } | 18 } |
| OLD | NEW |