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

Unified Diff: runtime/vm/ast_test.cc

Issue 11199002: Remove built-in identifier 'negate' from VM (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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: runtime/vm/ast_test.cc
===================================================================
--- runtime/vm/ast_test.cc (revision 13693)
+++ runtime/vm/ast_test.cc (working copy)
@@ -46,8 +46,9 @@
EXPECT_EQ(l, b->left());
EXPECT_EQ(lln, b->right());
- UnaryOpNode* u = new UnaryOpNode(Scanner::kDummyTokenIndex, Token::kSUB, b);
- EXPECT_EQ(Token::kSUB, u->kind());
+ UnaryOpNode* u =
+ new UnaryOpNode(Scanner::kDummyTokenIndex, Token::kNEGATE, b);
+ EXPECT_EQ(Token::kNEGATE, u->kind());
EXPECT_EQ(b, u->operand());
SequenceNode* sequence_node = new SequenceNode(1, new LocalScope(NULL, 0, 0));

Powered by Google App Engine
This is Rietveld 408576698