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

Unified Diff: dart/lib/compiler/implementation/scanner/token.dart

Issue 10892005: Revert "Support unary - operator." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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
Index: dart/lib/compiler/implementation/scanner/token.dart
diff --git a/dart/lib/compiler/implementation/scanner/token.dart b/dart/lib/compiler/implementation/scanner/token.dart
index dd6ab76cb6a50f9344f7279a0d794ed729cf4113..11e79d0ab9bebc057bb06cdc1788e25b0301ef2f 100644
--- a/dart/lib/compiler/implementation/scanner/token.dart
+++ b/dart/lib/compiler/implementation/scanner/token.dart
@@ -256,6 +256,7 @@ bool isUserDefinableOperator(String value) {
return
(value === '==') ||
(value === '~') ||
+ (value === 'negate') ||
(value === '[]') ||
(value === '[]=') ||
(value === '*') ||
« no previous file with comments | « dart/lib/compiler/implementation/scanner/parser.dart ('k') | dart/lib/compiler/implementation/ssa/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698