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'; |
11 import 'dart:profiler'; | 11 import 'dart:developer'; |
12 import 'dart:typed_data'; | 12 import 'dart:typed_data'; |
13 | 13 |
14 class A <T> {} | 14 class A <T> {} |
15 class B <S extends num> {} | 15 class B <S extends num> {} |
16 | 16 |
17 var array; | 17 var array; |
18 var bigint; | 18 var bigint; |
19 var blockClean; | 19 var blockClean; |
20 var blockCopying; | 20 var blockCopying; |
21 var blockFull; | 21 var blockFull; |
(...skipping 132 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 |