OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 simple_types_inferrer; | 5 library simple_types_inferrer; |
6 | 6 |
7 import '../closure.dart' show ClosureClassMap, ClosureScope; | 7 import '../closure.dart' show ClosureClassMap, ClosureScope; |
8 import '../dart_types.dart' | 8 import '../dart_types.dart' |
9 show DartType, InterfaceType, FunctionType, TypeKind; | 9 show DartType, InterfaceType, FunctionType, TypeKind; |
10 import '../elements/elements.dart'; | 10 import '../elements/elements.dart'; |
(...skipping 1324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1335 } | 1335 } |
1336 | 1336 |
1337 handlePlainAssignment(identifier, element, selector, | 1337 handlePlainAssignment(identifier, element, selector, |
1338 receiverType, currentType, | 1338 receiverType, currentType, |
1339 node.expression); | 1339 node.expression); |
1340 return handleLoop(node, () { | 1340 return handleLoop(node, () { |
1341 visit(node.body); | 1341 visit(node.body); |
1342 }); | 1342 }); |
1343 } | 1343 } |
1344 } | 1344 } |
OLD | NEW |