Force lambda lifting for getImplTransformed. Hacky. Fixes #19818 (#21031)

This commit is contained in:
Yuriy Glukhov 2023-01-19 11:46:41 +01:00 • committed by GitHub
commit 9afb466d73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -1271,7 +1271,7 @@ proc rawExecute(c: PCtx, start: int, tos: PStackFrame): TFullReg =
let ast = a.sym.ast.shallowCopy
for i in 0..<a.sym.ast.len:
ast[i] = a.sym.ast[i]
ast[bodyPos] = transformBody(c.graph, c.idgen, a.sym, useCache)
ast[bodyPos] = transformBody(c.graph, c.idgen, a.sym, useCache, force=true)
ast.copyTree()
of opcSymOwner:
decodeB(rkNode)