| 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 types; | 5 library types; |
| 6 | 6 |
| 7 import '../dart2jslib.dart' hide Selector, TypedSelector; | 7 import '../common/backend_api.dart' show |
| 8 Backend; |
| 9 import '../common/tasks.dart' show |
| 10 CompilerTask; |
| 11 import '../compiler.dart' show |
| 12 Compiler; |
| 13 import '../diagnostics/invariant.dart' show |
| 14 invariant; |
| 15 import '../diagnostics/spannable.dart' show |
| 16 NO_LOCATION_SPANNABLE; |
| 8 import '../elements/elements.dart'; | 17 import '../elements/elements.dart'; |
| 9 import '../inferrer/concrete_types_inferrer.dart' show ConcreteTypesInferrer; | 18 import '../inferrer/concrete_types_inferrer.dart' show ConcreteTypesInferrer; |
| 10 import '../inferrer/type_graph_inferrer.dart' show TypeGraphInferrer; | 19 import '../inferrer/type_graph_inferrer.dart' show TypeGraphInferrer; |
| 11 import '../tree/tree.dart'; | 20 import '../tree/tree.dart'; |
| 12 import '../util/util.dart'; | 21 import '../util/util.dart'; |
| 13 import '../universe/universe.dart'; | 22 import '../universe/universe.dart'; |
| 14 import '../world.dart' show | 23 import '../world.dart' show |
| 15 ClassWorld, | 24 ClassWorld, |
| 16 World; | 25 World; |
| 17 | 26 |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 typesInferrer.getTypeOfSelector(selector, mask); | 340 typesInferrer.getTypeOfSelector(selector, mask); |
| 332 return (concreteTypesInferrer == null) | 341 return (concreteTypesInferrer == null) |
| 333 ? guaranteedType | 342 ? guaranteedType |
| 334 : intersection( | 343 : intersection( |
| 335 guaranteedType, | 344 guaranteedType, |
| 336 concreteTypesInferrer.getTypeOfSelector(selector, mask), | 345 concreteTypesInferrer.getTypeOfSelector(selector, mask), |
| 337 selector); | 346 selector); |
| 338 }); | 347 }); |
| 339 } | 348 } |
| 340 } | 349 } |
| OLD | NEW |