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

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 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.
« no previous file with comments | « test/codegen/lib/convert/base64_test_none_multi.dart ('k') | tool/input_sdk/private/ddc_runtime/classes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698