| Index: lib/compiler/implementation/apiimpl.dart
|
| diff --git a/lib/compiler/implementation/apiimpl.dart b/lib/compiler/implementation/apiimpl.dart
|
| index bc16bdb76f80583d5f9cc2d1fe8dedd8defa2d8a..757aad70f7784ac3cb899f6f931babcb736907b0 100644
|
| --- a/lib/compiler/implementation/apiimpl.dart
|
| +++ b/lib/compiler/implementation/apiimpl.dart
|
| @@ -48,6 +48,7 @@ class Compiler extends leg.Compiler {
|
| }
|
| return "lib/$path";
|
| }
|
| +
|
| String lookupPatchPath(String dartLibraryName) {
|
| LibraryInfo info = LIBRARIES[dartLibraryName];
|
| if (info === null) return null;
|
| @@ -59,10 +60,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 =
|
|
|