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

Unified Diff: runtime/lib/integers.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 | « runtime/lib/double.dart ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/integers.dart
diff --git a/runtime/lib/integers.dart b/runtime/lib/integers.dart
index 90a7f751b676f64b74017686fca114864b3faf61..487a38ac065591583ba0ee63bb8ac10e9ed437a5 100644
--- a/runtime/lib/integers.dart
+++ b/runtime/lib/integers.dart
@@ -33,7 +33,7 @@ class IntegerImplementation {
}
return other.moduloFromInteger(this);
}
- int operator negate() {
+ int operator -() {
return 0 - this;
}
int operator &(int other) {
« no previous file with comments | « runtime/lib/double.dart ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698