| Index: pkg/compiler/lib/src/patch_parser.dart
|
| diff --git a/pkg/compiler/lib/src/patch_parser.dart b/pkg/compiler/lib/src/patch_parser.dart
|
| index 0e9943d481191eeeb7a5cc77eb2b7f33ce03a6fe..c95cde7cc447170202f10e08eddb443436e303e3 100644
|
| --- a/pkg/compiler/lib/src/patch_parser.dart
|
| +++ b/pkg/compiler/lib/src/patch_parser.dart
|
| @@ -177,8 +177,8 @@ class PatchParserTask extends CompilerTask {
|
| // TODO(johnniwinther): Test that parts and exports are handled correctly.
|
| Script script = compilationUnit.script;
|
| Token tokens = new Scanner(script.file).tokenize();
|
| - Listener patchListener =
|
| - new PatchElementListener(compiler, compilationUnit, compiler);
|
| + Listener patchListener = new PatchElementListener(
|
| + compiler, compilationUnit, compiler.idGenerator);
|
| try {
|
| new PartialParser(patchListener, parserOptions).parseUnit(tokens);
|
| } on ParserError catch (e) {
|
|
|