Index: tool/input_sdk/private/ddc_runtime/operations.dart |
diff --git a/tool/input_sdk/private/ddc_runtime/operations.dart b/tool/input_sdk/private/ddc_runtime/operations.dart |
index 6da7148b9f3eefb897062bef3febb8bf6674e647..9f14816f5d2d1966a8eeec78930087a2a290b1ca 100644 |
--- a/tool/input_sdk/private/ddc_runtime/operations.dart |
+++ b/tool/input_sdk/private/ddc_runtime/operations.dart |
@@ -556,6 +556,8 @@ noSuchMethod(obj, Invocation invocation) { |
return JS('', '#.noSuchMethod(#)', obj, invocation); |
} |
+constFn(x) => JS('', '() => x'); |
+ |
runtimeType(obj) { |
// Handle primitives where the method isn't on the object. |
var result = _checkPrimitiveType(obj); |