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

Unified Diff: lib/core/object.dart

Issue 10918047: First corelib cleanup patch after unification. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments. 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
« no previous file with comments | « lib/compiler/implementation/lib/coreimpl_patch.dart ('k') | lib/coreimpl/corelib_impl_sources.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/core/object.dart
diff --git a/lib/core/object.dart b/lib/core/object.dart
index e0f94f73e34b1d310ebd26fa0f64fa3e3890457d..7febc393e5de13dd3b615ca8f80375a392ec25a6 100644
--- a/lib/core/object.dart
+++ b/lib/core/object.dart
@@ -8,13 +8,11 @@
class Object {
const Object();
- String toString() => ObjectImplementation.toStringImpl(this);
+ bool operator ==(other) => this === other;
- void noSuchMethod(String name, List args) {
- ObjectImplementation.noSuchMethodImpl(this, name, args);
- }
+ get dynamic => this;
- operator ==(other) => this === other;
+ external String toString();
- get dynamic() => this;
+ external void noSuchMethod(String name, List args);
}
« no previous file with comments | « lib/compiler/implementation/lib/coreimpl_patch.dart ('k') | lib/coreimpl/corelib_impl_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698