Skip to content

Fix #6247: Remove incorrect early check #6301

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

Merged
merged 1 commit into from
Apr 15, 2019

Conversation

smarter
Copy link
Member

@smarter smarter commented Apr 14, 2019

The check relied on the assumption that locked is always contained in
state.ownedVars, but this can stop being true when an owned type
variable is garbage-collected.

The check relied on the assumption that `locked` is always contained in
`state.ownedVars`, but this can stop being true when an owned type
variable is garbage-collected.
@smarter smarter force-pushed the fix-interpolate-locked branch from 4746041 to c626647 Compare April 15, 2019 09:28
@smarter smarter merged commit 74daf6b into scala:master Apr 15, 2019
@allanrenucci allanrenucci deleted the fix-interpolate-locked branch April 15, 2019 17:46
@liufengyun
Copy link
Contributor

A regression for Dotty happened after this PR?

@smarter
Copy link
Member Author

smarter commented Apr 17, 2019

Yes, see #6331

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.

3 participants