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
On Julia 1.7, the first gensym you get at the REPL is going to be Symbol("##274"), even if you've imported packages that contain that symbol. Witness:
Symbol("##274")
module TestPkg g = gensym() end # module
then
julia> using TestPkg [ Info: Precompiling TestPkg [9db6ce8c-046d-11e9-3d6b-c5272c17d34a] julia> TestPkg.g Symbol("##274") julia> TestPkg.g == gensym() true
Obviously this is a pretty rare problem, but for context, we thought that
@gensym f @eval MyModule $f() = ...
couldn't possibly overwrite a method in MyModule. Turns out this is false because of this issue. It's been a very painful bug to figure out.
Semi-related: #18172
The text was updated successfully, but these errors were encountered:
They are unique to the containing module only, and we possibly cannot do better
Sorry, something went wrong.
make the docs for gensym slightly more precise
gensym
fcc1a96
fixes #44903
make the docs for gensym slightly more precise (#45182)
902a5c1
Successfully merging a pull request may close this issue.
On Julia 1.7, the first gensym you get at the REPL is going to be
Symbol("##274")
, even if you've imported packages that contain that symbol. Witness:then
Obviously this is a pretty rare problem, but for context, we thought that
couldn't possibly overwrite a method in MyModule. Turns out this is false because of this issue. It's been a very painful bug to figure out.
Semi-related: #18172
The text was updated successfully, but these errors were encountered: