OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 // Note: the following comment is used by test.dart to additionally compile the | 5 // Note: the following comment is used by test.dart to additionally compile the |
6 // other isolate's code. | 6 // other isolate's code. |
7 // OtherScripts=deferred_loaded_lib.dart | 7 // OtherScripts=deferred_loaded_lib.dart |
8 | 8 |
9 import 'dart:isolate'; | 9 import 'dart:isolate'; |
10 import 'dart:async'; | 10 import 'dart:async'; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 Expect.fail("We don't expect to receive any error messages"); | 46 Expect.fail("We don't expect to receive any error messages"); |
47 receivePort.close(); | 47 receivePort.close(); |
48 asyncEnd(); | 48 asyncEnd(); |
49 } | 49 } |
50 ); | 50 ); |
51 } | 51 } |
52 ); | 52 ); |
53 } | 53 } |
54 | 54 |
55 main() { | 55 main() { |
56 helperFunction(); /// 01: runtime error | 56 helperFunction(); //# 01: runtime error |
57 } | 57 } |
OLD | NEW |