-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
spawn should capture global variables #91
Labels
bug
Indicates an unexpected problem or unintended behavior
Comments
ghost
assigned JeffBezanson
Jun 29, 2011
JeffBezanson
added a commit
that referenced
this issue
Jun 30, 2011
StefanKarpinski
added a commit
that referenced
this issue
Jun 30, 2011
* 'master' of github.com:JuliaLang/julia: fixing issue #91. spawn needs to capture the right set of variable bindings.
StefanKarpinski
pushed a commit
that referenced
this issue
Feb 8, 2018
* build dependent packages also * support varags in build api * build: use deps_graph instead of resolve_version! * remove stray new line * revert changes on resolve_versions! * remove dependency on deps_graph
cmcaine
pushed a commit
to cmcaine/julia
that referenced
this issue
Sep 24, 2020
Add exercise: phone-number
ElOceanografo
pushed a commit
to ElOceanografo/julia
that referenced
this issue
May 4, 2021
…uliaLang#39833) $ git log --pretty=oneline --abbrev=commit 2b4bed9..6bb8306 6bb83068bd796c4890baaeb39628ff79a4979374 Stop the grace timer iff adding first handle (fix JuliaLang#99) (JuliaLang#102) af6864d8872247faf2a402d6b2baca5cb74ab96e fix ssh_key_pass bug (fix JuliaLang#91) (JuliaLang#100)
antoine-levitt
pushed a commit
to antoine-levitt/julia
that referenced
this issue
May 9, 2021
…uliaLang#39833) $ git log --pretty=oneline --abbrev=commit 2b4bed9..6bb8306 6bb83068bd796c4890baaeb39628ff79a4979374 Stop the grace timer iff adding first handle (fix JuliaLang#99) (JuliaLang#102) af6864d8872247faf2a402d6b2baca5cb74ab96e fix ssh_key_pass bug (fix JuliaLang#91) (JuliaLang#100)
LilithHafner
pushed a commit
to LilithHafner/julia
that referenced
this issue
Oct 11, 2021
Keno
pushed a commit
that referenced
this issue
Oct 9, 2023
add the last documented function to index and enable strict
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@spawn
expressions correctly capture local variables the way closures always do, but this does not work for global variables defined at the prompt:This should be made to work somehow. Basically we need to surround the spawn with
let d=d ...
for each global it references.The text was updated successfully, but these errors were encountered: