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 94b58883b57e997a7ab8cc0e627a8d9ac6c8c680..7bcea0a60abadb3b9f287d815b6e6249f23e4794 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. |