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

Unified Diff: tests/compiler/dart2js/mirrors_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/co19/co19-runtime.status ('k') | tests/compiler/dart2js/parser_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/mirrors_test.dart
diff --git a/tests/compiler/dart2js/mirrors_test.dart b/tests/compiler/dart2js/mirrors_test.dart
index 9aca91125d41a4a76da96ecd174811ccd0607e29..3f96f712f95ffd526a507c76f2c1e63388f7f915 100644
--- a/tests/compiler/dart2js/mirrors_test.dart
+++ b/tests/compiler/dart2js/mirrors_test.dart
@@ -225,7 +225,7 @@ void testBar(MirrorSystem system, LibraryMirror helperLibrary,
// 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;
// }
void testBaz(MirrorSystem system, LibraryMirror helperLibrary,
Map<Object,TypeMirror> types) {
@@ -603,7 +603,7 @@ void testBaz(MirrorSystem system, LibraryMirror helperLibrary,
"Unexpected operatorName");
////////////////////////////////////////////////////////////////////////////
- // int operator negate() => 0;
+ // int operator -() => 0;
////////////////////////////////////////////////////////////////////////////
var operator_negate = findMirror(bazClassMembers, "operator",
operatorName: 'negate');
« no previous file with comments | « tests/co19/co19-runtime.status ('k') | tests/compiler/dart2js/parser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698