OLD | NEW |
| (Empty) |
1 // Copyright (c) 2015, the Dartino 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.md file. | |
4 | |
5 /// This file contains a compile-time error and wouldn't be able to analyze | |
6 /// without error. So it is put into a separate file that dart2js doesn't see. | |
7 library fletch_tests.file_with_compile_time_error; | |
8 | |
9 import 'dart:isolate' show | |
10 SendPort; | |
11 | |
12 import 'zone_helper_tests.dart' show | |
13 testCompileTimeErrorHelper; | |
14 | |
15 methodWithCompileTimeError() { | |
16 new new(); | |
17 } | |
18 | |
19 main(List<String> arguments, SendPort port) { | |
20 testCompileTimeErrorHelper(port, methodWithCompileTimeError); | |
21 } | |
OLD | NEW |