-
-
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
Any[1 [1,2]] ERROR: DimensionMismatch #14646
Comments
There's not really an exact equivalent of |
Imo, if you specify "Any" then there shouldn't be any concatenation. |
@KristofferC You could specialize the typed concatenation functions when |
There will be ambiguity when using any subtype of AbstractArray in the construction of an |
This looks like more evidence there should be parallel syntaxes for array construction and concatenation. (#7128) |
Or concatenation should be a function call rather than syntax. We should also flip the switch on the concatenation deprecation behavior from #8599 |
This will stay as-is for now. As long as closing as dup of #7128 |
In Julia 0.4.2,
The old style is fine:
I also found that Any[1 [1]] = {1 1} rather than {1 [1]}
The text was updated successfully, but these errors were encountered: