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

Unified Diff: runtime/vm/ast_printer_test.cc

Issue 9325047: Add token index position to classes and types for more accurate error reporting. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 years, 10 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 | « no previous file | runtime/vm/ast_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/ast_printer_test.cc
===================================================================
--- runtime/vm/ast_printer_test.cc (revision 3964)
+++ runtime/vm/ast_printer_test.cc (working copy)
@@ -13,7 +13,7 @@
namespace dart {
TEST_CASE(AstPrinter) {
- const intptr_t kPos = 1; // Dummy token index in non-existing source.
+ const intptr_t kPos = Scanner::kDummyTokenIndex;
LocalVariable* v =
new LocalVariable(kPos,
String::ZoneHandle(String::New("wurscht")),
« no previous file with comments | « no previous file | runtime/vm/ast_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698