Include StmtBase/StmtEnums in Func.h instead of Stmt.h

This requires changes in lots of other files that were depending on Func.h
to provide that include for them.
This commit is contained in:
Tim Wojtulewicz 2025-04-08 09:11:25 -07:00
parent ad50443590
commit ca3002d745
14 changed files with 31 additions and 3 deletions

View file

@ -524,6 +524,8 @@ void ScriptFunc::CreateCaptures(std::unique_ptr<std::vector<ZVal>> cvec) {
}
}
void ScriptFunc::SetCapturesVec(std::unique_ptr<std::vector<ZVal>> cv) { captures_vec = std::move(cv); }
void ScriptFunc::SetCaptures(Frame* f) {
const auto& captures = type->GetCaptures();
ASSERT(captures);