OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 import 'dart:async'; | 5 import 'dart:async'; |
6 import "package:expect/expect.dart"; | 6 import "package:expect/expect.dart"; |
7 import "package:async_helper/async_helper.dart"; | 7 import "package:async_helper/async_helper.dart"; |
8 import 'package:compiler/src/types/types.dart'; | 8 import 'package:compiler/src/types/types.dart'; |
9 import 'package:compiler/src/inferrer/concrete_types_inferrer.dart'; | 9 import 'package:compiler/src/inferrer/concrete_types_inferrer.dart'; |
10 import 'package:compiler/src/universe/universe.dart' show Selector; | |
11 | 10 |
12 import "compiler_helper.dart"; | 11 import "compiler_helper.dart"; |
13 import "type_mask_test_helper.dart"; | 12 import "type_mask_test_helper.dart"; |
14 | 13 |
15 /** | 14 /** |
16 * Finds the node corresponding to the last occurence of the substring | 15 * Finds the node corresponding to the last occurence of the substring |
17 * [: identifier; :] in the program represented by the visited AST. | 16 * [: identifier; :] in the program represented by the visited AST. |
18 */ | 17 */ |
19 class VariableFinderVisitor extends Visitor { | 18 class VariableFinderVisitor extends Visitor { |
20 final String identifier; | 19 final String identifier; |
(...skipping 2124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2145 testClosures10, | 2144 testClosures10, |
2146 testClosures11, | 2145 testClosures11, |
2147 testClosures12, | 2146 testClosures12, |
2148 testRefinement, | 2147 testRefinement, |
2149 testDefaultArguments, | 2148 testDefaultArguments, |
2150 testSuperConstructorCall, | 2149 testSuperConstructorCall, |
2151 testSuperConstructorCall2, | 2150 testSuperConstructorCall2, |
2152 testSuperConstructorCall3, | 2151 testSuperConstructorCall3, |
2153 ], (f) => f())); | 2152 ], (f) => f())); |
2154 } | 2153 } |
OLD | NEW |