| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 // Regression test for a crash in dart2js. | 5 // This test should be removed when dart2js can pass all mirror tests. |
| 6 // TODO(ahe): Remove this test. |
| 6 | 7 |
| 7 library crash_6725; | |
| 8 | 8 |
| 9 part 'crash_6725_part.dart'; /// 01: static type warning | 9 import 'mirrors_test.dart' as test; |
| 10 | 10 |
| 11 main() { | 11 main() { |
| 12 test(); /// 01: continued | 12 test.isDart2js = true; |
| 13 test.main(); |
| 13 } | 14 } |
| OLD | NEW |