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

Unified Diff: lib/core/int.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/double.dart ('k') | lib/core/num.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/core/int.dart
diff --git a/lib/core/int.dart b/lib/core/int.dart
index fb49fc437f92a0f2007af1a20c29f55d923fe00f..b7bd94b6d57af29acb485d59cf59da913c90ffbd 100644
--- a/lib/core/int.dart
+++ b/lib/core/int.dart
@@ -18,7 +18,7 @@ interface int extends num {
bool isOdd();
// Specializations of super-interface.
- int operator negate();
+ int operator -();
int abs();
int round();
int floor();
« no previous file with comments | « lib/core/double.dart ('k') | lib/core/num.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698