mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
refinements to LambdaExpr's to provide flexibility, support for ZVal captures
This commit is contained in:
parent
06522c0264
commit
46983cfb2f
7 changed files with 194 additions and 58 deletions
|
@ -1566,7 +1566,7 @@ lambda_body:
|
|||
|
||||
// Gather the ingredients for a Func from the
|
||||
// current scope.
|
||||
auto ingredients = std::make_unique<FunctionIngredients>(
|
||||
auto ingredients = std::make_shared<FunctionIngredients>(
|
||||
current_scope(), IntrusivePtr{AdoptRef{}, $3}, current_module.c_str());
|
||||
auto outer_ids = gather_outer_ids(pop_scope(), ingredients->Body());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue