-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix #5333: Invalid entries in the baseType cache #5343
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
Conversation
Provisional types should not have their baseType cached, it may change as type variables get refined and instantiated. The seqtype-cycle test had to be adjusted to avoid some missing reference errors, probably due to the completion order changing.
Performance test finished successfully: Visit http://dotty-bench.epfl.ch/5343/ to see the changes. Benchmarks is based on merging with master (0fcbfdb) |
@odersky This can be reviewed now, but there's one thing I haven't fully figured out, in: I assume that the "typeref cannot be a GADT" comment is based on the fact that we check |
I think that's correct. So we should probably remove the comment since it is irrelevant. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Very good analysis, also.
test performance please |
performance test scheduled: 1 job(s) in queue, 0 running. |
Performance test finished successfully: Visit http://dotty-bench.epfl.ch/5343/ to see the changes. Benchmarks is based on merging with master (0fcbfdb) |
Provisional types should not have their baseType cached, it may change
as type variables get refined and instantiated.
The seqtype-cycle test had to be adjusted to avoid some missing
reference errors, probably due to the completion order changing.