Skip to content
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

Throw compiler error instead of runtime error when failing to cast assertion #8848

Conversation

kyri-petrou
Copy link
Contributor

/fixes #8754
/claim #8754

This way we get a compiler error when we can't cast the RHS type to the LHS type

@kyri-petrou kyri-petrou changed the title Throw compiling error when failing to cast assertion Throw compiler error instead of runtime error when failing to cast assertion May 12, 2024
@kyri-petrou
Copy link
Contributor Author

Closing this as it seems we need a more clever approach

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Comparing Chunk to Seq causes ClassCastException
1 participant