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

Unified Diff: lib/core/object.dart

Issue 10908142: Add runtimeType() to Object which returns canonicalized instances of Type. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Refactor. 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 7febc393e5de13dd3b615ca8f80375a392ec25a6..d51601a2a298d7000d81f28dc184a3b0aa02223b 100644
--- a/lib/core/object.dart
+++ b/lib/core/object.dart
@@ -15,4 +15,8 @@ class Object {
external String toString();
external void noSuchMethod(String name, List args);
+
+ external Type runtimeType();
}
+
+abstract class Type {}

Powered by Google App Engine
This is Rietveld 408576698