-
-
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
Tighter constructor definition for Dict #12451
Comments
I don't think the constructor can be tightened if we still want it to accept any iterator that yields pairs, but it could throw a better error message. |
rened
pushed a commit
to rened/julia
that referenced
this issue
Aug 4, 2015
rened
pushed a commit
to rened/julia
that referenced
this issue
Aug 4, 2015
rened
pushed a commit
to rened/julia
that referenced
this issue
Aug 4, 2015
rened
pushed a commit
to rened/julia
that referenced
this issue
Aug 4, 2015
StefanKarpinski
added a commit
that referenced
this issue
Aug 12, 2015
fix #12451 by providing a better error message
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On current master the following throws unhelpful errors:
The solution is to make the type of
kv
indict.jl:435
:tighter. Don't know enough about what parameter values are acceptable for a Dict constructor to do it myself...
The text was updated successfully, but these errors were encountered: