Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: tool/input_sdk/patch/core_patch.dart

Issue 1962823002: fix #552, Object members on native types (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698