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

Unified Diff: runtime/vm/scopes_test.cc

Issue 2419013004: Add local variable declaration token position to service protocol (Closed)
Patch Set: ... 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
« no previous file with comments | « runtime/vm/scopes.cc ('k') | runtime/vm/service/service.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/scopes_test.cc
diff --git a/runtime/vm/scopes_test.cc b/runtime/vm/scopes_test.cc
index 807f9f973614ba408cf407031985a6bac3f8d1cd..fb6e4388f68752a593a3d00333278421503f1549 100644
--- a/runtime/vm/scopes_test.cc
+++ b/runtime/vm/scopes_test.cc
@@ -14,15 +14,19 @@ TEST_CASE(LocalScope) {
const Type& dynamic_type = Type::ZoneHandle(Type::DynamicType());
const String& a = String::ZoneHandle(Symbols::New(thread, "a"));
LocalVariable* var_a =
- new LocalVariable(TokenPosition::kNoSource, a, dynamic_type);
+ new LocalVariable(TokenPosition::kNoSource,
+ TokenPosition::kNoSource, a, dynamic_type);
LocalVariable* inner_var_a =
- new LocalVariable(TokenPosition::kNoSource, a, dynamic_type);
+ new LocalVariable(TokenPosition::kNoSource,
+ TokenPosition::kNoSource, a, dynamic_type);
const String& b = String::ZoneHandle(Symbols::New(thread, "b"));
LocalVariable* var_b =
- new LocalVariable(TokenPosition::kNoSource, b, dynamic_type);
+ new LocalVariable(TokenPosition::kNoSource,
+ TokenPosition::kNoSource, b, dynamic_type);
const String& c = String::ZoneHandle(Symbols::New(thread, "c"));
LocalVariable* var_c =
- new LocalVariable(TokenPosition::kNoSource, c, dynamic_type);
+ new LocalVariable(TokenPosition::kNoSource,
+ TokenPosition::kNoSource, c, dynamic_type);
const String& L = String::ZoneHandle(Symbols::New(thread, "L"));
SourceLabel* label_L =
new SourceLabel(TokenPosition::kNoSource, L, SourceLabel::kFor);
« no previous file with comments | « runtime/vm/scopes.cc ('k') | runtime/vm/service/service.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698