This commit is contained in:
Andreas Rumpf 2020-09-16 17:26:13 +02:00 • committed by GitHub
commit ae4ede6b00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 144 additions and 4 deletions

View file

@ -1006,7 +1006,8 @@ proc injectDestructorCalls*(g: ModuleGraph; owner: PSym; n: PNode): PNode =
echoCfg(c.g)
echo n
computeCursors(owner, n, g.config)
if optCursorInference in g.config.options:
computeCursors(owner, n, g.config)
var scope: Scope
let body = p(n, c, scope, normal)