-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Ycheck fails with bad interaction between inline parameters and singleton types #11163
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
Labels
Comments
Workaround transparent inline def summonD[T](using inline x: T): T = x or transparent inline def summonD[T](using inline x: T): x.type = x |
This now fails Ycheck after phase inlining with
The offending line is this:
|
anatoliykmetyuk
added a commit
to dotty-staging/dotty
that referenced
this issue
Jun 16, 2021
Fix scala#9769 Fix scala#9833 Fix scala#10389 Fix scala#10897 Fix scala#11163 Fix scala#11556 Fix scala#12474 Fix scala#10994 Fix scala#11729
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Minimized code
Output
Expectation
summonB[Foo].f
should compileThe text was updated successfully, but these errors were encountered: