Skip to content

Conversation

smarter
Copy link
Member

@smarter smarter commented Jan 19, 2018

When a TypeTree is represented by a SHAREDterm, we need to follow the
SHAREDterm and call readTpt() again. We cannot rely on readTerm()
following the SHAREDterm for us because a TypeTree can be pickled as
just a type.

@smarter smarter force-pushed the fix-shared-tpt-again branch from 41cbd36 to fbbb7c2 Compare January 19, 2018 18:13
When a TypeTree is represented by a SHAREDterm, we need to follow the
SHAREDterm and call `readTpt()` again. We cannot rely on `readTerm()`
following the SHAREDterm for us because a TypeTree can be pickled as
just a type.
@odersky odersky merged commit c2e5011 into scala:master Jan 21, 2018
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