Skip to content

Fix #7405 and #7887: Allow types references at a lower level #7682

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
Jan 20, 2020

Conversation

nicolasstucki
Copy link
Contributor

To be able to have references to type tags of types defined in a higher level we need to generalize the concept of type healing. In this case we instead of needing to keep a type tag for the next stage it should be possible to refer to types for a next level. This is already the case inside of top level splices in inline methods (macros) but it should be possible to do in any code.

@nicolasstucki nicolasstucki self-assigned this Dec 4, 2019
@soronpo
Copy link
Contributor

soronpo commented Dec 4, 2019

At a ❤️er level?

@nicolasstucki nicolasstucki changed the title Fix #7405: Allow types references at a lover level Fix #7405: Allow types references at a lower level Dec 4, 2019
@nicolasstucki nicolasstucki force-pushed the fix-#7405 branch 3 times, most recently from 366a574 to af72225 Compare December 5, 2019 13:08
@nicolasstucki nicolasstucki marked this pull request as ready for review December 20, 2019 12:48
@nicolasstucki
Copy link
Contributor Author

Look at the diff one commit at a time.

To be able to have references to type tags of types defined in a higher level we need to generalize the concept of type healing. In this case we instead of needing to keep a type tag for the next stage it should be possible to refer to types for a next level. This is already the case inside of top level splices in inline methods (macros) but it should be possible to do in any code.
@nicolasstucki nicolasstucki changed the title Fix #7405: Allow types references at a lower level Fix #7405 and #7887: Allow types references at a lower level Jan 10, 2020
@odersky odersky merged commit 90a6448 into scala:master Jan 20, 2020
@odersky odersky deleted the fix-#7405 branch January 20, 2020 20:59
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.

3 participants