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

Fixed class cast exception in createImplicitThis #1433

Merged
merged 1 commit into from
Feb 15, 2024
Merged

Conversation

oxisto
Copy link
Member

@oxisto oxisto commented Feb 14, 2024

The culprit was a hard as cast, which should have been a smart as? cast.

Fixes #1377

The culprit was a hard `as` cast, which should have been a smart `as?` cast.

Fixes #1377
@oxisto oxisto requested a review from konradweiss as a code owner February 14, 2024 19:32
@oxisto oxisto linked an issue Feb 14, 2024 that may be closed by this pull request
@oxisto oxisto added the java Related to Java language parsing label Feb 14, 2024
Copy link

sonarcloud bot commented Feb 14, 2024

@oxisto oxisto merged commit 79fb834 into main Feb 15, 2024
4 checks passed
@oxisto oxisto deleted the fix-classcastexception branch February 15, 2024 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
java Related to Java language parsing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ClassCastException from FunctionDeclaration to MethodDeclaration (Java)
2 participants