| Index: lib/compiler/implementation/apiimpl.dart
|
| diff --git a/lib/compiler/implementation/apiimpl.dart b/lib/compiler/implementation/apiimpl.dart
|
| index e2598605a37b76814a286ad7138ad9928e8a8cd0..4062ba6c8b7239dc5f3297208e66ba67d83569ac 100644
|
| --- a/lib/compiler/implementation/apiimpl.dart
|
| +++ b/lib/compiler/implementation/apiimpl.dart
|
| @@ -56,6 +56,7 @@ class Compiler extends leg.Compiler {
|
| }
|
| return "lib/$path";
|
| }
|
| +
|
| String lookupPatchPath(String dartLibraryName) {
|
| LibraryInfo info = LIBRARIES[dartLibraryName];
|
| if (info === null) return null;
|
| @@ -67,10 +68,8 @@ class Compiler extends leg.Compiler {
|
|
|
| elements.LibraryElement scanBuiltinLibrary(String path) {
|
| Uri uri = libraryRoot.resolve(lookupLibraryPath(path));
|
| - Uri canonicalUri;
|
| - if (path.startsWith("_")) {
|
| - canonicalUri = uri;
|
| - } else {
|
| + Uri canonicalUri = null;
|
| + if (!path.startsWith("_")) {
|
| canonicalUri = new Uri.fromComponents(scheme: "dart", path: path);
|
| }
|
| elements.LibraryElement library =
|
|
|