Skip to content

Fix owner of symbols created from TASTY LazyReaders #4115

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
Mar 15, 2018

Conversation

smarter
Copy link
Member

@smarter smarter commented Mar 14, 2018

A LazyReader is completed using the current Context which may have a
different owner than the one that was in place when the LazyReader was
created, we compensate for this by explicitly recording and setting
Context#owner when completing the LazyReader.

A LazyReader is completed using the current Context which may have a
different owner than the one that was in place when the LazyReader was
created, we compensate for this by explicitly recording and setting
`Context#owner` when completing the LazyReader.

Note: unpickling quotes used to rely on the previous behavior, we now
use `changeOwner` instead.
@smarter smarter force-pushed the fix/tasty-lazy-owner branch from 8167993 to ff9e8b3 Compare March 15, 2018 14:21
@smarter smarter requested a review from odersky March 15, 2018 14:47
@smarter smarter merged commit e04e72b into scala:master Mar 15, 2018
@Blaisorblade Blaisorblade deleted the fix/tasty-lazy-owner branch March 16, 2018 03:14
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