Skip to content

Various fixes to reduce the size of the pickling blackliist #5515

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 3 commits into from
Nov 25, 2018

Conversation

smarter
Copy link
Member

@smarter smarter commented Nov 24, 2018

No description provided.

Typing a TypeBoundsTree(Empty, Empty) leads to a TypeBoundsTree(Nothing,
Any), if this tree appears in a higher-kinded position, we manually set
its type, but we don't change the upper bound which is still "Any" and
ends up being pickled. To avoid this issue this commit simply replaces
the TypeBoundsTree with a synthetic TypeTree with the proper type and
position, which is all that we need.
odersky added a commit that referenced this pull request Nov 25, 2018
Various fixes to reduce the size of the pickling blackliist
@odersky odersky merged commit 0b90430 into scala:master Nov 25, 2018
@odersky odersky merged commit 334dffd into scala:master Nov 25, 2018
@allanrenucci allanrenucci deleted the fix-pickling-various branch November 25, 2018 19:52
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