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

Side by Side Diff: runtime/lib/object_patch.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/lib/lib_sources.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 patch class ObjectImplementation { 5 patch class Object {
6 /* patch */ static String toStringImpl(Object object) 6 /* patch */ String toString() => _toString(this);
7 native "Object_toString";
8 7
9 /* patch */ static void noSuchMethodImpl(Object object, 8 /* patch */ void noSuchMethod(String functionName, List args) {
10 String functionName, 9 _noSuchMethod(this, functionName, args);
11 List args) 10 }
11
12 static void _noSuchMethod(Object obj, String functionName, List args)
12 native "Object_noSuchMethod"; 13 native "Object_noSuchMethod";
14
15 static String _toString(Object obj) native "Object_toString";
13 } 16 }
OLDNEW
« no previous file with comments | « runtime/lib/lib_sources.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698