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

Unified Diff: test/generated_sdk/lib/core/object.dart

Issue 1100633006: Generate static calls for Object fields and methods (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 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
Index: test/generated_sdk/lib/core/object.dart
diff --git a/test/generated_sdk/lib/core/object.dart b/test/generated_sdk/lib/core/object.dart
index 2140705a664fa3397fd7577f671d8b795318acd2..8b2a32fb0856082ec8128add1d3aba3069f4bb96 100644
--- a/test/generated_sdk/lib/core/object.dart
+++ b/test/generated_sdk/lib/core/object.dart
@@ -98,5 +98,5 @@ class Object {
/**
* A representation of the runtime type of the object.
*/
- Type get runtimeType => getRuntimeType(this);
+ Type get runtimeType => JS('Type', 'dart.runtimeType(#)', this);
}

Powered by Google App Engine
This is Rietveld 408576698