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

Unified Diff: lib/compiler/implementation/lib/core.dart

Issue 10878050: Unify Object implementation across dart2js and VM. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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/compiler/implementation/lib/core.dart
diff --git a/lib/compiler/implementation/lib/core.dart b/lib/compiler/implementation/lib/core.dart
index 3484497a64c5e5f83c1b3ebbfb09b718bd4c1a80..c227c18b373e3c3173a3102d39bb20d91f1a2c0f 100644
--- a/lib/compiler/implementation/lib/core.dart
+++ b/lib/compiler/implementation/lib/core.dart
@@ -28,6 +28,7 @@
#source('../../../../corelib/src/list.dart');
#source('../../../../corelib/src/map.dart');
#source('../../../../corelib/src/num.dart');
+#source('../../../../corelib/src/object.dart');
#source('../../../../corelib/src/options.dart');
#source('../../../../corelib/src/pattern.dart');
#source('../../../../corelib/src/queue.dart');
@@ -46,11 +47,3 @@ void print(var obj) {
Primitives.printString(obj.toString());
}
}
-
-class Object {
- String toString() => Primitives.objectToString(this);
-
- void noSuchMethod(String name, List args) {
- throw new NoSuchMethodException(this, name, args);
- }
-}

Powered by Google App Engine
This is Rietveld 408576698