| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 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 | 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. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 /// This file contains a compile-time error and wouldn't be able to analyze | 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. | 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; | 7 library fletch_tests.file_with_compile_time_error; |
| 8 | 8 |
| 9 import 'dart:isolate' show | 9 import 'dart:isolate' show |
| 10 SendPort; | 10 SendPort; |
| 11 | 11 |
| 12 import 'zone_helper_tests.dart' show | 12 import 'zone_helper_tests.dart' show |
| 13 testCompileTimeErrorHelper; | 13 testCompileTimeErrorHelper; |
| 14 | 14 |
| 15 methodWithCompileTimeError() { | 15 methodWithCompileTimeError() { |
| 16 new new(); | 16 new new(); |
| 17 } | 17 } |
| 18 | 18 |
| 19 main(List<String> arguments, SendPort port) { | 19 main(List<String> arguments, SendPort port) { |
| 20 testCompileTimeErrorHelper(port, methodWithCompileTimeError); | 20 testCompileTimeErrorHelper(port, methodWithCompileTimeError); |
| 21 } | 21 } |
| OLD | NEW |