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

Fix compound assignment cast types by removing type annotations #122

Merged
merged 1 commit into from
Nov 2, 2021

Conversation

wmdietl
Copy link
Member

@wmdietl wmdietl commented Oct 27, 2021

Fixes #121

javac stores type annotations in TypeMirrors for fields and parameters (and maybe others). #121 uncovered that using that annotated type in a compound assignment cast type leads to incorrect results.

@wmdietl wmdietl merged commit f49cd59 into master Nov 2, 2021
@wmdietl wmdietl deleted the eisop-121 branch November 2, 2021 22:17
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.

Value Checker Reports @UnknownVal for Compound Assignment on Some Variables
1 participant