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

Unified Diff: lib/core/num.dart

Issue 10917100: Eliminate unnecessary factory constructors in abstract core classes (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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/core/hashable.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/core/num.dart
===================================================================
--- lib/core/num.dart (revision 11907)
+++ lib/core/num.dart (working copy)
@@ -5,10 +5,6 @@
// Dart core library.
abstract class num implements Comparable, Hashable {
- factory num._uninstantiable() {
- throw const UnsupportedOperationException(
- "abstract class num cannot be instantiated");
- }
// Arithmetic operations.
abstract num operator +(num other);
abstract num operator -(num other);
« no previous file with comments | « lib/core/hashable.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698