-
Notifications
You must be signed in to change notification settings - Fork 323
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
Dangling expression should throw a compilation error #8832
Comments
Jaroslav Tulach reports a new STANDUP for yesterday (2024-01-26): Progress: - PR that fixes #8832 #8877
Next Day: BigDecimal CI fighting |
Fixes #8832 by reporting a `SyntaxError` in `TreeToIr` conversion.
Jaroslav Tulach reports a new STANDUP for yesterday (2024-01-28): Progress: - binary operators integrated: https://github.com/enso-org/enso/blob/234417a7be91c8966e5ee05c54a0777a09194a29/docs/syntax/functions.md#type-ascriptions-and-operator-resolution
Next Day: Multi threaded JavaScript access in GraalVM |
Jaroslav Tulach reports a new STANDUP for yesterday (2024-01-29): Progress: - #8832 fixed by integrating #8877
Next Day: Planning next work |
The following code compiles, but fails at runtime on "No such method 'method'":
I would expect a compilation error. There is a dangling
IO.println
expression that does not belong to any method.Moreover, the following snippet:
Does not fail in compilation either and prints
static_method
. It should fail on compilation error as well.The text was updated successfully, but these errors were encountered: