Index: runtime/vm/parser.cc |
diff --git a/runtime/vm/parser.cc b/runtime/vm/parser.cc |
index 23c22c3f3fc03cff02cb1eb625772e0568201306..1127dc06574ac564fe3bc865f443664c5eea6c23 100644 |
--- a/runtime/vm/parser.cc |
+++ b/runtime/vm/parser.cc |
@@ -7021,7 +7021,7 @@ SequenceNode* Parser::CloseAsyncFunction(const Function& closure, |
Class::ZoneHandle(Z, I->object_store()->completer_class()); |
ASSERT(!completer.IsNull()); |
const Function& completer_constructor = Function::ZoneHandle(Z, |
- completer.LookupFunction(Symbols::CompleterConstructor())); |
+ completer.LookupFunction(Symbols::CompleterSyncConstructor())); |
ASSERT(!completer_constructor.IsNull()); |
LocalVariable* async_completer = current_block_->scope->LookupVariable( |