OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 // See inspector.txt for expected behavior. | 5 // See inspector.txt for expected behavior. |
6 | 6 |
7 library manual_inspector_test; | 7 library manual_inspector_test; |
8 | 8 |
9 import 'dart:isolate'; | 9 import 'dart:isolate'; |
10 import 'dart:mirrors'; | 10 import 'dart:mirrors'; |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 weakProperty = extractPrivateField(expando, '_data').firstWhere((e) => e != nu
ll); | 154 weakProperty = extractPrivateField(expando, '_data').firstWhere((e) => e != nu
ll); |
155 | 155 |
156 Isolate.spawn(secondMain, "Hello").then((otherIsolate) { | 156 Isolate.spawn(secondMain, "Hello").then((otherIsolate) { |
157 isolate = otherIsolate; | 157 isolate = otherIsolate; |
158 portSend = otherIsolate.controlPort; | 158 portSend = otherIsolate.controlPort; |
159 capability = otherIsolate.terminateCapability; | 159 capability = otherIsolate.terminateCapability; |
160 }); | 160 }); |
161 | 161 |
162 print("Finished main"); | 162 print("Finished main"); |
163 } | 163 } |
OLD | NEW |