-
Notifications
You must be signed in to change notification settings - Fork 4
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
SymDict interferes with the Dict constructor #1
Comments
Thanks @cstjean |
Hey, I'm sorry, I think I was not very clear in describing the problem. The issue is that the constructor on this line shadows the Base constructor for |
Hi @cstjean, I could indeed reproduce the problem you described. $ julia
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "?help" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.4.2 (2015-12-06 21:47 UTC)
_/ |\__'_|_|_|\__'_| | Official http://julialang.org/ release
|__/ | x86_64-apple-darwin13.4.0
julia> using SymDict
julia> Dict{Symbol, Any}(Dict{Any, Any}(:x=>3))
Dict{Symbol,Any} with 1 entry:
:x => 3 Would you suggest a different fix? |
I can reproduce your result, but if I import IJulia first: julia> using IJulia
julia> Dict{Symbol, Any}(Dict{Any, Any}(:x=>3))
Dict{Symbol,Any} with 1 entry:
:x => 3
julia> using SymDict
julia> Dict{Symbol, Any}(Dict{Any, Any}(:x=>3))
Dict{Any,Any} with 1 entry:
:x => 3 That's really weird. |
New issue. Sorry for blaming SymDict! |
returns a
Dict{Symbol, Any}
butreturns a
Dict{Any, Any}
The text was updated successfully, but these errors were encountered: