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
julia> NTuple{3}(zeros(4)) (0.0, 0.0, 0.0)
Is this intentional? I expected an error message. Cf eg
julia> NTuple{3}((1,2,3,4)) ERROR: MethodError: Cannot `convert` an object of type NTuple{4, Int64} to an object of type Tuple{T, T, T} where T
(tested on 1.10 and master, but this is not a regression, also the same in previous versions I checked)
The text was updated successfully, but these errors were encountered:
Dup of #52657
Sorry, something went wrong.
<:Tuple
No branches or pull requests
Is this intentional? I expected an error message. Cf eg
(tested on 1.10 and master, but this is not a regression, also the same in previous versions I checked)
The text was updated successfully, but these errors were encountered: