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

Unified Diff: pkg/fixnum/int64.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 | « pkg/fixnum/int32.dart ('k') | pkg/fixnum/intx.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/fixnum/int64.dart
diff --git a/pkg/fixnum/int64.dart b/pkg/fixnum/int64.dart
index 1b344bae23b4dd9ac28d445eaea8433c694d5f79..f54e8df22882be5553027500c93a507e3a6caaab 100644
--- a/pkg/fixnum/int64.dart
+++ b/pkg/fixnum/int64.dart
@@ -273,7 +273,7 @@ class int64 implements intx {
return result;
}
- int64 operator negate() {
+ int64 operator -() {
// Like 0 - this.
int sum0 = -_l;
int sum1 = -_m + _shiftRight(sum0, _BITS);
« no previous file with comments | « pkg/fixnum/int32.dart ('k') | pkg/fixnum/intx.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698