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

Unified Diff: lib/core/object.dart

Issue 10941031: Reapply 'Add runtimeType() to Object which returns canonicalized instances of Type'. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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: lib/core/object.dart
diff --git a/lib/core/object.dart b/lib/core/object.dart
index 3c94515e68f752823c3c8881c725ec64d38cea7f..9bf5bd0cf77819608a971c4be89e41d6864b0f78 100644
--- a/lib/core/object.dart
+++ b/lib/core/object.dart
@@ -13,8 +13,12 @@ class Object {
external String toString();
external void noSuchMethod(String name, List args);
+
+ external Type runtimeType();
}
+abstract class Type {}
+
/**
* Check whether two references are to the same object.
*/

Powered by Google App Engine
This is Rietveld 408576698