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 0436a49b969dd27b24f6efa71255595f91735949..832114b4d9949af942385291b1e14895bed66c5e 100644 |
--- a/pkg/kernel/lib/testing/mock_sdk_program.dart |
+++ b/pkg/kernel/lib/testing/mock_sdk_program.dart |
@@ -60,6 +60,7 @@ Program createMockSdkProgram() { |
addClass(coreLib, class_('Function')); |
addClass(coreLib, class_('Invocation')); |
addClass(asyncLib, class_('Future', typeParameters: [typeParam('T')])); |
+ addClass(asyncLib, class_('FutureOr', typeParameters: [typeParam('T')])); |
addClass(asyncLib, class_('Stream', typeParameters: [typeParam('T')])); |
addClass(internalLib, class_('Symbol')); |