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
The compiler allows to splat a Tuple inside a new Tuple, but the interpreter doesn't like it.
Here is a simple reproduce:
# bug.cr foo = {1, 2, 3} bar = {*foo, 4, 5} p bar
The compiler is fine:
$ crystal run bug.cr {1, 2, 3, 4, 5}
The interpreter doesn't:
$ crystal i bug.cr In bug.cr:2:5 2 | b = {*foo, 4, 5} ^ Error: BUG: missing interpret for Crystal::Splat
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The compiler allows to splat a Tuple inside a new Tuple, but the interpreter doesn't like it.
Here is a simple reproduce:
The compiler is fine:
The interpreter doesn't:
The text was updated successfully, but these errors were encountered: