Index: pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/types.dart |
diff --git a/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/types.dart b/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/types.dart |
index 40ab74d8fbf08b51242c71833440bf450bb6560f..11c0c46e23cdd64e4dff9cb77cefad0cd35c2e24 100644 |
--- a/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/types.dart |
+++ b/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/types.dart |
@@ -298,7 +298,7 @@ _createSmall(count, definite, returnType, required) => JS( |
} |
let result = map.get($returnType); |
if (result !== void 0) return result; |
- result = new $FunctionType($returnType, args, [], {}); |
+ result = new $FunctionType.new($returnType, args, [], {}); |
map.set($returnType, result); |
return result; |
})()'''); |