Open HJarausch opened 3 years ago
Can you give me the full code you tried?
It's just your example parallelForStaged.nim.txt
Unfortunately I have no way to hide these kinds of errors, even if I try to wrap the code in a proc, the proc body is expanded in the error.
First, I have just tried the parallelForStaged example of the README.md file. the statement
sync(Weave)
fails to compile withThen, I have introduced an
awaitable: MyLoop
statement, and I have replaced the failing sync(Weave) withsync(MyLoop)
(note the missing discard here)This gives a horrible error message