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 library concrete_types_inferrer; | 5 library concrete_types_inferrer; |
6 | 6 |
7 import 'dart:collection' show Queue, IterableBase; | 7 import 'dart:collection' show Queue, IterableBase; |
8 import '../native/native.dart' as native; | 8 import '../native/native.dart' as native; |
9 import '../dart2jslib.dart' hide Selector, TypedSelector; | 9 import '../dart2jslib.dart' hide Selector, TypedSelector; |
10 import '../dart_types.dart' show DartType, TypeKind; | 10 import '../dart_types.dart' show DartType, TypeKind; |
(...skipping 2361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2372 if (element is Local) { | 2372 if (element is Local) { |
2373 ConcreteType type = locals.use(element); | 2373 ConcreteType type = locals.use(element); |
2374 if (type != null) { | 2374 if (type != null) { |
2375 inferrer.augmentInferredType(node, type); | 2375 inferrer.augmentInferredType(node, type); |
2376 } | 2376 } |
2377 } | 2377 } |
2378 } | 2378 } |
2379 return super.visitGetterSend(node); | 2379 return super.visitGetterSend(node); |
2380 } | 2380 } |
2381 } | 2381 } |
OLD | NEW |