-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
c error while trying to map it.wait() on a thread of arrays #21049
Comments
using regular fn execsync(cmd cli.Command) ! {
dens := os.read_lines('/etc/fox/dens')!.map(urllib.parse(it)!)
mut threads := []thread !{}
for den in dens {
threads << spawn update(den)
}
for t in threads {
t.wait()!
}
} |
still reproducible on bedaf4f
|
I assume this should be a checker error because |
Yes. Since The only way to do this is to force a valid type using an |
V doctor:
What did you do?
v run .
What did you expect to see?
code works as expected
What did you see instead?
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: