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

Unified Diff: runtime/lib/error.dart

Issue 11712002: Remove NoSuchMethodErrorImplementation class and use NoSuchMethodError from core (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 12 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 | « runtime/lib/error.cc ('k') | runtime/lib/errors_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/error.dart
===================================================================
--- runtime/lib/error.dart (revision 16582)
+++ runtime/lib/error.dart (working copy)
@@ -91,28 +91,6 @@
}
-// TODO(regis): This class should be removed and the corresponding class in the
-// core lib should be used.
-class NoSuchMethodErrorImplementation implements NoSuchMethodError {
- factory NoSuchMethodErrorImplementation._uninstantiable() {
- throw new UnsupportedError(
- "NoSuchMethodError can only be allocated by the VM");
- }
-
- String toString() => "No such method: '$functionName', url '$url' line $line "
- "pos $column\n$failedResolutionLine\n";
-
- static _throwNew(int call_pos, String functionName)
- native "NoSuchMethodError_throwNew";
-
- final String functionName;
- final String failedResolutionLine;
- final String url;
- final int line;
- final int column;
-}
-
-
class AbstractClassInstantiationErrorImplementation
implements AbstractClassInstantiationError {
« no previous file with comments | « runtime/lib/error.cc ('k') | runtime/lib/errors_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698