Table defaults capture closures.

This commit is contained in:
Zeke Medley 2019-06-27 14:38:38 -07:00
parent d7a73c270d
commit 28253b24f9
13 changed files with 459 additions and 364 deletions

View file

@ -553,7 +553,7 @@ std::shared_ptr<id_list> gather_outer_ids(Scope* scope, Stmt* body)
std::shared_ptr<id_list> idl (new id_list);
for ( size_t i = 0; i < cb.outer_id_references.size(); ++i )
idl->append(cb.outer_id_references[i]->Id());
idl->append(cb.outer_id_references[i]->Id());
return std::move(idl);
}