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 | 10 import 'package:compiler/src/universe/call_structure.dart' show |
11 CallStructure, | 11 CallStructure; |
| 12 import 'package:compiler/src/universe/selector.dart' show |
12 Selector; | 13 Selector; |
13 | 14 |
14 import "compiler_helper.dart"; | 15 import "compiler_helper.dart"; |
15 import "type_mask_test_helper.dart"; | 16 import "type_mask_test_helper.dart"; |
16 | 17 |
17 /** | 18 /** |
18 * Finds the node corresponding to the last occurence of the substring | 19 * Finds the node corresponding to the last occurence of the substring |
19 * [: identifier; :] in the program represented by the visited AST. | 20 * [: identifier; :] in the program represented by the visited AST. |
20 */ | 21 */ |
21 class VariableFinderVisitor extends Visitor { | 22 class VariableFinderVisitor extends Visitor { |
(...skipping 2128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2150 testClosures10, | 2151 testClosures10, |
2151 testClosures11, | 2152 testClosures11, |
2152 testClosures12, | 2153 testClosures12, |
2153 testRefinement, | 2154 testRefinement, |
2154 testDefaultArguments, | 2155 testDefaultArguments, |
2155 testSuperConstructorCall, | 2156 testSuperConstructorCall, |
2156 testSuperConstructorCall2, | 2157 testSuperConstructorCall2, |
2157 testSuperConstructorCall3, | 2158 testSuperConstructorCall3, |
2158 ], (f) => f())); | 2159 ], (f) => f())); |
2159 } | 2160 } |
OLD | NEW |