| Index: pkg/kernel/lib/transformations/closure/mock.dart
|
| diff --git a/pkg/kernel/lib/transformations/closure/mock.dart b/pkg/kernel/lib/transformations/closure/mock.dart
|
| index a948df285aa738151a8ceee6f377209bf3ecbc91..be8847dd177fcb3b406a4c9cf07344af7ff74d43 100644
|
| --- a/pkg/kernel/lib/transformations/closure/mock.dart
|
| +++ b/pkg/kernel/lib/transformations/closure/mock.dart
|
| @@ -29,6 +29,7 @@ import '../../ast.dart'
|
| Program,
|
| PropertyGet,
|
| ReturnStatement,
|
| + Source,
|
| Statement,
|
| StaticInvocation,
|
| Supertype,
|
| @@ -183,6 +184,6 @@ Class mockUpContext(CoreTypes coreTypes, Program program) {
|
| name: "mock", classes: [contextClass])..fileUri = fileUri;
|
| program.libraries.add(mock);
|
| mock.parent = program;
|
| - program.uriToLineStarts[mock.fileUri] = <int>[0];
|
| + program.uriToSource[mock.fileUri] = new Source(<int>[0], "");
|
| return contextClass;
|
| }
|
|
|