| Index: lib/compiler/implementation/patch_parser.dart
|
| diff --git a/lib/compiler/implementation/patch_parser.dart b/lib/compiler/implementation/patch_parser.dart
|
| index 13725dbc5dc24bf3f0002a4952094c724346a33d..3cfc1de452899c29c176e9333cbacd381a591bfa 100644
|
| --- a/lib/compiler/implementation/patch_parser.dart
|
| +++ b/lib/compiler/implementation/patch_parser.dart
|
| @@ -131,7 +131,8 @@ class PatchParserTask extends leg.CompilerTask {
|
| * injections to the library, and returns a list of class
|
| * patches.
|
| */
|
| - void patchLibrary(Uri patchUri, LibraryElement library) {
|
| + void patchLibrary(ImportExportHandler handler,
|
| + Uri patchUri, LibraryElement library) {
|
| leg.Script script = compiler.readScript(patchUri, null);
|
| CompilationUnitElement compilationUnit =
|
| new CompilationUnitElement(script, library);
|
| @@ -146,7 +147,8 @@ class PatchParserTask extends leg.CompilerTask {
|
| // TODO(lrn): These imports end up in the original library and are in
|
| // scope for the original methods too. This should be fixed.
|
| for (tree.LibraryTag tag in imports.toLink()) {
|
| - compiler.scanner.importLibraryFromTag(tag, compilationUnit);
|
| + compiler.scanner.loadLibraryFromTag(
|
| + handler, library, tag, compilationUnit);
|
| }
|
| }
|
|
|
|
|