Index: tool/input_sdk/patch/core_patch.dart |
diff --git a/tool/input_sdk/patch/core_patch.dart b/tool/input_sdk/patch/core_patch.dart |
index b4dc3c794da8655336d661f98008c5db985c8006..55b7edb98daaf982330e9c566cc8c61a3a61806b 100644 |
--- a/tool/input_sdk/patch/core_patch.dart |
+++ b/tool/input_sdk/patch/core_patch.dart |
@@ -44,7 +44,8 @@ class Object { |
} |
@patch |
- Type get runtimeType => JS('Type', 'dart.objectRuntimeType(#)', this); |
+ Type get runtimeType => |
+ JS('Type', 'dart.wrapType(dart.getReifiedType(#))', this); |
} |
// Patch for Function implementation. |