Index: pkg/kernel/lib/testing/mock_sdk_program.dart |
diff --git a/pkg/kernel/lib/testing/mock_sdk_program.dart b/pkg/kernel/lib/testing/mock_sdk_program.dart |
index 6369f41f679f825ff9df7c06a2d1d6790dfafcfe..0436a49b969dd27b24f6efa71255595f91735949 100644 |
--- a/pkg/kernel/lib/testing/mock_sdk_program.dart |
+++ b/pkg/kernel/lib/testing/mock_sdk_program.dart |
@@ -63,5 +63,5 @@ Program createMockSdkProgram() { |
addClass(asyncLib, class_('Stream', typeParameters: [typeParam('T')])); |
addClass(internalLib, class_('Symbol')); |
- return new Program([coreLib, asyncLib, internalLib]); |
+ return new Program(libraries: [coreLib, asyncLib, internalLib]); |
} |