| 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 dart2js.compiler_base; | 5 library dart2js.compiler_base; |
| 6 | 6 |
| 7 import 'dart:async' show | 7 import 'dart:async' show |
| 8 EventSink, | 8 EventSink, |
| 9 Future; | 9 Future; |
| 10 | 10 |
| (...skipping 1535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1546 return symbolClass.rawType; | 1546 return symbolClass.rawType; |
| 1547 } | 1547 } |
| 1548 | 1548 |
| 1549 @override | 1549 @override |
| 1550 InterfaceType get typeType { | 1550 InterfaceType get typeType { |
| 1551 typeClass.ensureResolved(resolution); | 1551 typeClass.ensureResolved(resolution); |
| 1552 return typeClass.rawType; | 1552 return typeClass.rawType; |
| 1553 } | 1553 } |
| 1554 | 1554 |
| 1555 @override | 1555 @override |
| 1556 InterfaceType get stackTraceType { |
| 1557 stackTraceClass.ensureResolved(resolution); |
| 1558 return stackTraceClass.rawType; |
| 1559 } |
| 1560 |
| 1561 @override |
| 1556 InterfaceType iterableType([DartType elementType]) { | 1562 InterfaceType iterableType([DartType elementType]) { |
| 1557 iterableClass.ensureResolved(resolution); | 1563 iterableClass.ensureResolved(resolution); |
| 1558 InterfaceType type = iterableClass.rawType; | 1564 InterfaceType type = iterableClass.rawType; |
| 1559 if (elementType == null) { | 1565 if (elementType == null) { |
| 1560 return type; | 1566 return type; |
| 1561 } | 1567 } |
| 1562 return type.createInstantiation([elementType]); | 1568 return type.createInstantiation([elementType]); |
| 1563 } | 1569 } |
| 1564 | 1570 |
| 1565 @override | 1571 @override |
| (...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2042 if (_otherDependencies == null) { | 2048 if (_otherDependencies == null) { |
| 2043 _otherDependencies = new Setlet<Element>(); | 2049 _otherDependencies = new Setlet<Element>(); |
| 2044 } | 2050 } |
| 2045 _otherDependencies.add(element.implementation); | 2051 _otherDependencies.add(element.implementation); |
| 2046 } | 2052 } |
| 2047 | 2053 |
| 2048 Iterable<Element> get otherDependencies { | 2054 Iterable<Element> get otherDependencies { |
| 2049 return _otherDependencies != null ? _otherDependencies : const <Element>[]; | 2055 return _otherDependencies != null ? _otherDependencies : const <Element>[]; |
| 2050 } | 2056 } |
| 2051 } | 2057 } |
| OLD | NEW |