You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import threadpool
procfoo(): seq[int] =newSeq[int]()
let t =spawnfoo()
echo^t
Current Output
d:\d\test2.nim(6, 16) template/generic instantiation of `nimCreateFlowVar` from here
C:\Users\user\.choosenim\toolchains\nim-#devel\lib\pure\concurrency\threadpool.nim(214, 6) Error: cannot bind another '=destroy' to: FlowVarObj; previous declaration was constructed here implicitly: C:\Users\user\.choosenim\toolchains\nim-#devel\lib\pure\concurrency\threadpool.nim(211, 48)
$ nim -v
Nim Compiler Version 1.3.1 [Windows: amd64]
Compiled at 2020-04-14
Copyright (c) 2006-2020 by Andreas Rumpf
git hash: 2c93d1684e44dcec160083eafd1144e4ddeb0ad8
active boot switches: -d:release
The text was updated successfully, but these errors were encountered:
Code fails to compile with
--gc:arc
.Example
Current Output
Expected Output
Additional Information
The text was updated successfully, but these errors were encountered: