Skip to content

Fix #9069: Complete children of sealed classes early #9083

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 4 commits into from
Jun 2, 2020

Conversation

odersky
Copy link
Contributor

@odersky odersky commented May 30, 2020

Complete all possible children of sealed classes or traits before first querying
with children. This way we make them register themselves with Child annotations
in the parent class.

@odersky odersky force-pushed the fix-#9069 branch 4 times, most recently from 4ac32a3 to fff8995 Compare May 30, 2020 18:22
odersky added 4 commits June 1, 2020 12:34
Complete all possible children of sealed classes or traits before first querying
with `children`. This way we make they register themselves with Child annotations
in the parent class.
Use originDenotation of children instead of going back to typerPhase
This gave a cyclic error before. Looks like an interaction between child completion and match types.
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