| Index: sdk/lib/_internal/compiler/implementation/patch_parser.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/patch_parser.dart b/sdk/lib/_internal/compiler/implementation/patch_parser.dart
|
| index ba2f4984ef92e65b7b32d59b9af662872bf7e383..b528fa20b43310417efe1d8f0248118ecaa0a3ba 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/patch_parser.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/patch_parser.dart
|
| @@ -162,7 +162,7 @@ class PatchParserTask extends leg.CompilerTask {
|
| measure(() {
|
| // TODO(lrn): Possibly recursively handle 'part' directives in patch.
|
| leg.Script script = compilationUnit.script;
|
| - Token tokens = new StringScanner(script.text).tokenize();
|
| + Token tokens = new Scanner(script.file).tokenize();
|
| Function idGenerator = compiler.getNextFreeClassId;
|
| PatchListener patchListener =
|
| new PatchElementListener(compiler,
|
|
|