-
Notifications
You must be signed in to change notification settings - Fork 145
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
ICE with array literal in REPL #555
Comments
This also crashes even if I try and provide an explicit type:
|
Happens on my pc too. This is the full backtrace: |
Pro-tip: you can use a <details><summary>Optional summary element that defines what's shown without expanding.</summary>
Anything here is hidden until the disclosure triangle is clicked. You can include markdown (e.g. code blocks) by putting a blank line in between the `<details>` and the markdown.
</details> Here's the full backtrace from my machine
That said, I'm not sure if this backtrace is at all useful (which is why I didn't include it originally), as the backtrace basically just says it's coming from the gluon compiler, but we already knew that from the panic message. |
As the repl invokes the typechecker without an expected type any array in the tail expression would not get a type assigned to them. Fixes gluon-lang#555
Fix in #558. Due to the way the repl invokes the typechecker it hit a code path which didn't assign the type as it should have. |
As the repl invokes the typechecker without an expected type any array in the tail expression would not get a type assigned to them. Fixes gluon-lang#555
If I try and use an array literal in the REPL I get an ICE:
Trying to ask for the type of this expression also just returns
_
:This is with Gluon 0.8.0.
The text was updated successfully, but these errors were encountered: