| 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 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |