fixes #2287
This commit is contained in:
parent
970e98718d
commit
5a21892da0
6 changed files with 345 additions and 280 deletions
|
|
@ -37,7 +37,7 @@ is valid, but
|
|||
spawn f(a[i])
|
||||
spawn f(a[i])
|
||||
inc i
|
||||
is not! However,
|
||||
is not! However,
|
||||
spawn f(a[i])
|
||||
if guard: inc i
|
||||
spawn f(a[i])
|
||||
|
|
@ -460,7 +460,7 @@ proc liftParallel*(owner: PSym; n: PNode): PNode =
|
|||
# - detect used slices
|
||||
# - detect used arguments
|
||||
#echo "PAR ", renderTree(n)
|
||||
|
||||
|
||||
var a = initAnalysisCtx()
|
||||
let body = n.lastSon
|
||||
analyse(a, body)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue