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

Unified Diff: lib/core/double.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/compiler/implementation/scanner/parser.dart ('k') | lib/core/int.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/core/double.dart
diff --git a/lib/core/double.dart b/lib/core/double.dart
index 0a4827c4e7673517331bb7738b4f94c4b88415bd..bf6a19a7de10bf83b9476a126f0632d367b14a8e 100644
--- a/lib/core/double.dart
+++ b/lib/core/double.dart
@@ -22,7 +22,7 @@ abstract class double implements num {
abstract double operator %(num other);
abstract double operator /(num other);
abstract double operator ~/(num other);
- abstract double operator negate();
+ abstract double operator -();
abstract double abs();
abstract double round();
abstract double floor();
« no previous file with comments | « lib/compiler/implementation/scanner/parser.dart ('k') | lib/core/int.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698