remove nosinks hacks from compiler (#21469)

This commit is contained in:
ringabout 2023-03-04 20:07:33 +08:00 • committed by GitHub
commit d950e5f3a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 13 additions and 13 deletions

View file

@ -1692,7 +1692,7 @@ proc semProcAnnotation(c: PContext, prc: PNode;
return result
proc semInferredLambda(c: PContext, pt: TIdTable, n: PNode): PNode {.nosinks.} =
proc semInferredLambda(c: PContext, pt: TIdTable, n: PNode): PNode =
## used for resolving 'auto' in lambdas based on their callsite
var n = n
let original = n[namePos].sym