| Index: pkg/compiler/lib/src/library_loader.dart
|
| diff --git a/pkg/compiler/lib/src/library_loader.dart b/pkg/compiler/lib/src/library_loader.dart
|
| index d38f96598f7e0d1c06e4f9681f95f5fd8e0b5076..5793aa425829a855f6c1ed29ddd432d639e225e6 100644
|
| --- a/pkg/compiler/lib/src/library_loader.dart
|
| +++ b/pkg/compiler/lib/src/library_loader.dart
|
| @@ -29,6 +29,7 @@ import 'elements/modelx.dart'
|
| PrefixElementX,
|
| SyntheticImportElement;
|
| import 'environment.dart';
|
| +import 'resolved_uri_translator.dart';
|
| import 'script.dart';
|
| import 'serialization/serialization.dart' show LibraryDeserializer;
|
| import 'tree/tree.dart';
|
| @@ -1404,17 +1405,6 @@ class _LoadedLibraries implements LoadedLibraries {
|
| String toString() => 'root=$rootLibrary,libraries=${loadedLibraries.keys}';
|
| }
|
|
|
| -/// API used by the library loader to translate internal SDK URIs into file
|
| -/// system readable URIs.
|
| -abstract class ResolvedUriTranslator {
|
| - // TODO(sigmund): move here the comments from library loader.
|
| - /// Translate the resolved [uri] in the context of [importingLibrary].
|
| - ///
|
| - /// Use [spannable] for error reporting.
|
| - Uri translate(LibraryElement importingLibrary, Uri uri,
|
| - [Spannable spannable]);
|
| -}
|
| -
|
| // TODO(sigmund): remove ScriptLoader & ElementScanner. Such abstraction seems
|
| // rather low-level. It might be more practical to split the library-loading
|
| // task itself. The task would continue to do the work of recursively loading
|
|
|