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

Unified Diff: runtime/lib/error.dart

Issue 11419191: Enforce rule in vm that factory name must match enclosing class name. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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 | « no previous file | runtime/lib/map_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 15427)
+++ runtime/lib/error.dart (working copy)
@@ -53,7 +53,7 @@
class CastErrorImplementation
extends TypeErrorImplementation
implements CastError {
- factory CastError._uninstantiable() {
+ factory CastErrorImplementation._uninstantiable() {
throw new UnsupportedError(
"CastError can only be allocated by the VM");
}
« no previous file with comments | « no previous file | runtime/lib/map_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698