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

Unified Diff: tool/input_sdk/private/js_helper.dart

Issue 1944483002: Redo how Type objects are exposed from DDC. (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: More tweaks. Created 4 years, 8 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
« no previous file with comments | « tool/input_sdk/private/debugger.dart ('k') | tool/input_sdk/private/js_rti.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tool/input_sdk/private/js_helper.dart
diff --git a/tool/input_sdk/private/js_helper.dart b/tool/input_sdk/private/js_helper.dart
index 7ac7fb46ad1215b3dd2d989b8420fe72a3b187d4..4b434f699965e76e70091226cc1d5c0c52189fb3 100644
--- a/tool/input_sdk/private/js_helper.dart
+++ b/tool/input_sdk/private/js_helper.dart
@@ -176,7 +176,7 @@ class Primitives {
/// In minified mode, uses the unminified names if available.
static String objectToString(Object object) {
// String name = objectTypeName(object);
- String name = JS('String', 'dart.typeName(dart.realRuntimeType(#))', object);
+ String name = JS('String', 'dart.typeName(dart.getReifiedType(#))', object);
return "Instance of '$name'";
}
« no previous file with comments | « tool/input_sdk/private/debugger.dart ('k') | tool/input_sdk/private/js_rti.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698