We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Putting this on the 1.8 milestone so it is not forgotten.
#42339 (comment)
The text was updated successfully, but these errors were encountered:
Seems like some issue with unwrapping nothing values specifically. I'll try to investigate/fix it this weekend
nothing
Here's an MWE:
julia> using Distributed julia> addprocs(1) 1-element Vector{Int64}: 2 julia> fetch(remotecall(() -> 10, 2)) 10 julia> fetch(remotecall(() -> nothing, 2)) ERROR: ArgumentError: No value arguments present Stacktrace: [1] something() @ Base .\some.jl:99 [2] something(::Nothing) @ Base .\some.jl:100 [3] fetch(r::Future) @ Distributed C:\cygwin64\home\krynjupc\julia\usr\share\julia\stdlib\v1.8\Distributed\src\remotecall.jl:638 [4] top-level scope @ REPL[3]:1
Sorry, something went wrong.
call_on_owner
Ok this was actually a simple one. I overlooked the return logic in fetch and was attempting to do something(nothing) at some point in code
something(nothing)
Here's the PR #43398
Thanks Krystian! :)
Successfully merging a pull request may close this issue.
Putting this on the 1.8 milestone so it is not forgotten.
#42339 (comment)
The text was updated successfully, but these errors were encountered: