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

Unified Diff: dart/tests/compiler/dart2js/mirrors_helper.dart

Issue 10870066: Support unary - operator. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix unparser to handle that negate is no longer a keyword. Created 8 years, 4 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 | « dart/tests/co19/co19-dart2js.status ('k') | dart/tests/compiler/dart2js/parser_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/compiler/dart2js/mirrors_helper.dart
diff --git a/dart/tests/compiler/dart2js/mirrors_helper.dart b/dart/tests/compiler/dart2js/mirrors_helper.dart
index 6d2e44462052639d287391cd9162183050d619f8..8cbe1ea4fa35e38292dedde4370e58e660af24ca 100644
--- a/dart/tests/compiler/dart2js/mirrors_helper.dart
+++ b/dart/tests/compiler/dart2js/mirrors_helper.dart
@@ -32,7 +32,7 @@ class Baz<E,F extends Foo> implements Bar<E> {
Baz<E,F> method3(E func1(F f), Func<E,F> func2) => null;
bool operator==(Object other) => false;
- int operator negate() => 0;
+ int operator-() => 0;
}
class Boz extends Foo {
« no previous file with comments | « dart/tests/co19/co19-dart2js.status ('k') | dart/tests/compiler/dart2js/parser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698