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

Unified Diff: lib/core/num.dart

Issue 10911206: Remove support for operator negate and replace occurrences with unary (Closed) Base URL: https://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/int.dart ('k') | pkg/fixnum/int32.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/core/num.dart
diff --git a/lib/core/num.dart b/lib/core/num.dart
index 1ef36131879bcc1f9c72aadc4cdb63bb919932be..2b3e263a8be8d79aef642efba47b5cc5cfd215ba 100644
--- a/lib/core/num.dart
+++ b/lib/core/num.dart
@@ -14,7 +14,7 @@ abstract class num implements Comparable, Hashable {
// Truncating division.
abstract num operator ~/(num other);
// The unary '-' operator.
- abstract num operator negate();
+ abstract num operator -();
abstract num remainder(num other);
// Relational operations.
« no previous file with comments | « lib/core/int.dart ('k') | pkg/fixnum/int32.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698