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
In v0.6, this works:
struct MyType{T} value::T end Base.convert(::Type{MyType}, x::MyType) = x Base.convert(::Type{MyType}, x) = MyType(x) A = MyType[:a :b; :c :d]
to create a Matrix of MyTypes.
MyType
In latest master this gets interpreted as a slicing of some sort, I guess, because I get the following error:
ERROR: syntax: expected separator between arguments to "[ ]"; got ":a:"
Same thing for larger matrices of symbols. But
A = MyType[:a; :c]
has no such problems.
The text was updated successfully, but these errors were encountered:
#22816 (comment)
Sorry, something went wrong.
889c335
Merge pull request #22844 from JuliaLang/jb/fix22840
e679f09
fix #22840, regression in parsing `[:a :b]`
fix JuliaLang#22840, regression in parsing [:a :b]
[:a :b]
1709b19
JeffBezanson
No branches or pull requests
In v0.6, this works:
to create a Matrix of
MyType
s.In latest master this gets interpreted as a slicing of some sort, I guess, because I get the following error:
Same thing for larger matrices of symbols. But
has no such problems.
The text was updated successfully, but these errors were encountered: