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

Unified Diff: runtime/vm/parser.h

Issue 2419013004: Add local variable declaration token position to service protocol (Closed)
Patch Set: test closure variables Created 4 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/parser.h
diff --git a/runtime/vm/parser.h b/runtime/vm/parser.h
index 9134bb12058952b5321c64ae913560252d93e0be..155a7e90ecd3169f00c79f577640b91178aef2a6 100644
--- a/runtime/vm/parser.h
+++ b/runtime/vm/parser.h
@@ -106,6 +106,7 @@ class ParsedFunction : public ZoneAllocated {
// Every function has a local variable for the current context.
LocalVariable* temp = new(zone()) LocalVariable(
function.token_pos(),
+ function.token_pos(),
Symbols::CurrentContextVar(),
Object::dynamic_type());
ASSERT(temp != NULL);

Powered by Google App Engine
This is Rietveld 408576698