Index: runtime/vm/ast.cc |
diff --git a/runtime/vm/ast.cc b/runtime/vm/ast.cc |
index 2ba8dc1504a9bc889ed7885d9408269398a2e0b2..cfe1637e5a695d95cab993bea5e5e4df27377003 100644 |
--- a/runtime/vm/ast.cc |
+++ b/runtime/vm/ast.cc |
@@ -111,7 +111,8 @@ LocalVariable* LetNode::AddInitializer(AstNode* node) { |
OS::SNPrint(name, sizeof(name), ":lt%s_%" Pd "", |
token_pos().ToCString(), vars_.length()); |
LocalVariable* temp_var = |
- new LocalVariable(token_pos(), |
+ new LocalVariable(TokenPosition::kNoSource, |
+ token_pos(), |
String::ZoneHandle(zone, Symbols::New(thread, name)), |
Object::dynamic_type()); |
vars_.Add(temp_var); |