Skip to content
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

Dict doesn't take => #13311

Closed
sheim opened this issue Sep 24, 2015 · 1 comment
Closed

Dict doesn't take => #13311

sheim opened this issue Sep 24, 2015 · 1 comment

Comments

@sheim
Copy link

sheim commented Sep 24, 2015

I just got Julia, running version 0.3.11 installed via homebrew on OS X 10.10.5
Dicts (at least the way they are described in all the tutorials etc. I've found) don't seem to be working:

julia> mydict = Dict("a"=>1, "b"=>2, "c"=>3)
ERROR: unsupported or misplaced expression =>

Tried both in the terminal and in Juno. This seems to not be an isolated case (see here), but I can find any actual answers to it either. Other issues that could be related, but they aren't talking about Dict, so I'm not sure...

Cheers

@yuyichao
Copy link
Contributor

This is the new dict syntax / constructor in 0.4. You can use it on 0.3 with Compat.jl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants