Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(339)

Side by Side Diff: pkg/compiler/lib/src/compiler.dart

Issue 1416253002: Remove requiredTypes (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/compiler/lib/src/common/resolution.dart ('k') | pkg/compiler/lib/src/core_types.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/common/resolution.dart ('k') | pkg/compiler/lib/src/core_types.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698