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 a2800d335cae2f82447b6aec34412cd56febac45..bf036512a487bfb1548380dde4cf1c8851e72f48 100644 |
--- a/pkg/kernel/lib/transformations/closure/mock.dart |
+++ b/pkg/kernel/lib/transformations/closure/mock.dart |
@@ -199,8 +199,9 @@ Class mockUpContext(CoreTypes coreTypes, Program program) { |
fields: fields, |
procedures: procedures, |
fileUri: fileUri); |
- Library mock = new Library(Uri.parse(fileUri), |
- name: "mock", classes: [contextClass])..fileUri = fileUri; |
+ Library mock = |
+ new Library(Uri.parse(fileUri), name: "mock", classes: [contextClass]) |
+ ..fileUri = fileUri; |
program.libraries.add(mock); |
mock.parent = program; |
program.uriToSource[mock.fileUri] = new Source(<int>[0], const <int>[]); |