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

Correct implementation of IdentityMostlySingleton. #3550

Merged
merged 7 commits into from Aug 5, 2020

Conversation

smillst
Copy link
Member

@smillst smillst commented Aug 3, 2020

This change on t-rasmud/repro-casting-issue branch makes the test case in for #3484 pass. I was also reproduce the issue using an existing test checker.

Fixes #3484.

@mernst mernst removed their assignment Aug 3, 2020
wmdietl added a commit to wmdietl/checker-framework that referenced this pull request Aug 4, 2020
@wmdietl
Copy link
Member

wmdietl commented Aug 4, 2020

This is a cool find! I wonder whether we could extend the Interning Checker to allow us to prevent this bug...

I've created #3558 with an alternative, that might be a tad more efficient and I find it a bit clearer what the actual problem is.
It might still benefit from some comment. See what you think and comment there.

@wmdietl wmdietl assigned smillst and unassigned wmdietl Aug 4, 2020
@mernst mernst mentioned this pull request Aug 5, 2020
@mernst mernst merged commit 959f82e into typetools:master Aug 5, 2020
@mernst mernst deleted the issue3484 branch August 5, 2020 19:23
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.

Local variable gets incorrectly unrefined in finally block
3 participants