fixes for compiling lambdas to C++

This commit is contained in:
Vern Paxson 2023-08-16 17:03:37 -07:00
parent 4991693a9c
commit 6af0014a7b
3 changed files with 9 additions and 2 deletions

View file

@ -77,8 +77,9 @@ void CPPCompile::Compile(bool report_uncompilable)
continue;
}
if ( is_when_lambda(f) )
if ( is_lambda(f) || is_when_lambda(f) )
{
// We deal with these separately.
func.SetSkip(true);
continue;
}