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

RD-11199: ClassCastException between ErrorExp and Exp #467

Merged
merged 2 commits into from
Jul 30, 2024

Conversation

bgaidioz
Copy link
Collaborator

I believe the mistake is ErrorExp (the class) instead of ErrorExp(), an instance. ErrorExp cannot be cast to class Exp as if it was an instance. The crash occurs without the fix.

I noticed another place in the visitor where the fix should be made, but I couldn't come up with any snapi code that would hit it (one needs an ErrorExp in place of a function parameter default value).

@bgaidioz bgaidioz requested a review from alexzerntev July 24, 2024 09:51
@bgaidioz bgaidioz merged commit 7e177b2 into main Jul 30, 2024
6 checks passed
@bgaidioz bgaidioz deleted the RD-11199-ErrorExp branch July 30, 2024 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants