| 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 23202238eca2b6d485aedbdebfb972a33761855e..62ad6c6659e49a8bd818ffc4255e43048386471a 100644
|
| --- a/pkg/compiler/lib/src/library_loader.dart
|
| +++ b/pkg/compiler/lib/src/library_loader.dart
|
| @@ -6,6 +6,8 @@ library dart2js.library_loader;
|
|
|
| import 'dart:async';
|
|
|
| +import 'common/names.dart' show
|
| + Uris;
|
| import 'common/tasks.dart' show
|
| CompilerTask;
|
| import 'compiler.dart' show
|
| @@ -411,8 +413,8 @@ class _LibraryLoaderTask extends CompilerTask implements LibraryLoaderTask {
|
| checkDuplicatedLibraryName(library);
|
|
|
| // Import dart:core if not already imported.
|
| - if (!importsDartCore && library.canonicalUri != Compiler.DART_CORE) {
|
| - return createLibrary(handler, null, Compiler.DART_CORE)
|
| + if (!importsDartCore && library.canonicalUri != Uris.dart_core) {
|
| + return createLibrary(handler, null, Uris.dart_core)
|
| .then((LibraryElement coreLibrary) {
|
| handler.registerDependency(library, null, coreLibrary);
|
| });
|
|
|