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

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

Issue 2827283002: Implement subtype relation for kernel based elements. (Closed)
Patch Set: Updated cf. comments Created 3 years, 8 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 | « no previous file | pkg/compiler/lib/src/constant_system_dart.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 Future; 7 import 'dart:async' show Future;
8 8
9 import '../compiler_new.dart' as api; 9 import '../compiler_new.dart' as api;
10 import 'closure.dart' as closureMapping show ClosureTask; 10 import 'closure.dart' as closureMapping show ClosureTask;
(...skipping 16 matching lines...) Expand all
27 import 'diagnostics/code_location.dart'; 27 import 'diagnostics/code_location.dart';
28 import 'diagnostics/diagnostic_listener.dart' show DiagnosticReporter; 28 import 'diagnostics/diagnostic_listener.dart' show DiagnosticReporter;
29 import 'diagnostics/invariant.dart' show REPORT_EXCESS_RESOLUTION; 29 import 'diagnostics/invariant.dart' show REPORT_EXCESS_RESOLUTION;
30 import 'diagnostics/messages.dart' show Message, MessageTemplate; 30 import 'diagnostics/messages.dart' show Message, MessageTemplate;
31 import 'dump_info.dart' show DumpInfoTask; 31 import 'dump_info.dart' show DumpInfoTask;
32 import 'elements/elements.dart'; 32 import 'elements/elements.dart';
33 import 'elements/entities.dart'; 33 import 'elements/entities.dart';
34 import 'elements/modelx.dart' show ErroneousElementX; 34 import 'elements/modelx.dart' show ErroneousElementX;
35 import 'elements/resolution_types.dart' 35 import 'elements/resolution_types.dart'
36 show 36 show
37 DartTypes,
38 ResolutionDartType, 37 ResolutionDartType,
39 ResolutionDynamicType, 38 ResolutionDynamicType,
40 ResolutionFunctionType, 39 ResolutionFunctionType,
41 ResolutionInterfaceType, 40 ResolutionInterfaceType,
42 Types; 41 Types;
42 import 'elements/types.dart' show DartTypes;
43 import 'enqueue.dart' show Enqueuer, EnqueueTask, ResolutionEnqueuer; 43 import 'enqueue.dart' show Enqueuer, EnqueueTask, ResolutionEnqueuer;
44 import 'environment.dart'; 44 import 'environment.dart';
45 import 'id_generator.dart'; 45 import 'id_generator.dart';
46 import 'io/source_information.dart' show SourceInformation; 46 import 'io/source_information.dart' show SourceInformation;
47 import 'js_backend/backend.dart' show JavaScriptBackend; 47 import 'js_backend/backend.dart' show JavaScriptBackend;
48 import 'library_loader.dart' 48 import 'library_loader.dart'
49 show 49 show
50 ElementScanner, 50 ElementScanner,
51 LibraryLoader, 51 LibraryLoader,
52 LibraryLoaderTask, 52 LibraryLoaderTask,
(...skipping 1916 matching lines...) Expand 10 before | Expand all | Expand 10 after
1969 ResolutionFunctionType getLocalFunctionType(LocalFunctionElement function) { 1969 ResolutionFunctionType getLocalFunctionType(LocalFunctionElement function) {
1970 return function.type; 1970 return function.type;
1971 } 1971 }
1972 1972
1973 @override 1973 @override
1974 ResolutionDartType getUnaliasedType(ResolutionDartType type) { 1974 ResolutionDartType getUnaliasedType(ResolutionDartType type) {
1975 type.computeUnaliased(_resolution); 1975 type.computeUnaliased(_resolution);
1976 return type.unaliased; 1976 return type.unaliased;
1977 } 1977 }
1978 } 1978 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/constant_system_dart.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698