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

Unified Diff: tests/language/operator_test.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 | « tests/language/operator3_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/operator_test.dart
diff --git a/tests/language/operator_test.dart b/tests/language/operator_test.dart
index 5304f68c39fb0be6eb481b38ceb43e0407f3bffb..b692400e00559f893735cc2197597c4a1addd65a 100644
--- a/tests/language/operator_test.dart
+++ b/tests/language/operator_test.dart
@@ -127,7 +127,7 @@ class Operator {
return value ~/ other.value;
}
- operator negate() {
+ operator -() {
return -value;
}
}
« no previous file with comments | « tests/language/operator3_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698