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

Unified Diff: tests/language/operator3_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/naming_test.dart ('k') | tests/language/operator_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/operator3_test.dart
diff --git a/tests/language/operator3_test.dart b/tests/language/operator3_test.dart
index 2cab0e64341858f75a69cb8ee6ca3194e1f3d09f..e024c90c159d62f9d48992802303cedbb61b644e 100644
--- a/tests/language/operator3_test.dart
+++ b/tests/language/operator3_test.dart
@@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
class A {
- operator negate() => this;
+ operator -() => this;
toString() => "5";
abs() => "correct";
}
« no previous file with comments | « tests/language/naming_test.dart ('k') | tests/language/operator_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698