OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 // VMOptions=--error_on_bad_type --error_on_bad_override | 4 // VMOptions=--error_on_bad_type --error_on_bad_override |
5 | 5 |
6 import 'dart:isolate'; | 6 import 'dart:isolate'; |
7 | 7 |
8 test() => 'apple'; | 8 test() => 'apple'; |
9 | 9 |
10 main() { | 10 main() { |
11 RawReceivePort keepAlive = new RawReceivePort(); | 11 RawReceivePort keepAlive = new RawReceivePort(); |
12 print('slave isolate running'); | 12 print('slave isolate running'); |
13 } | 13 } |
14 | |
OLD | NEW |