Skip to content
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

Detect opaque aliases in inline val types #13857

Merged
merged 2 commits into from Nov 2, 2021

Conversation

nicolasstucki
Copy link
Contributor

Fixes #13851

`inline val`s cannot contain opaque aliases as these cannot be inlined
through their type due to their opaqueness. We can support `inline def`
with opaque types.

Fixes scala#13851
Fixes scala#13852
Co-authored-by: Guillaume Martres <smarter@ubuntu.com>
@nicolasstucki nicolasstucki merged commit 9b3e6c4 into scala:master Nov 2, 2021
@nicolasstucki nicolasstucki deleted the fix-#13851 branch November 2, 2021 14:01
@Kordyjan Kordyjan added this to the 3.1.2 milestone Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants