We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
type Channel = "A" | "B" type SelChannel[C <: Tuple] = C match { case x *: xs => x | SelChannel[xs] case _ => Nothing } val a: SelChannel[("A", "B", "C")] = ???
In scala interactive :type prints
:type
scala> :type a ("A" : String) | SelChannel[(("B" : String), ("C" : String))]
Shouldn't this instead fully expand?
scala> :type a ("A" : String) | ("B" : String) | ("C" : String)
The text was updated successfully, but these errors were encountered:
Fix scala#10886: Add regression test
0698ca5
Merge pull request #13597 from dotty-staging/fix-10886
f713efa
Fix #10886: Add regression test
1aafde4
OlivierBlanvillain
abgruszecki
Successfully merging a pull request may close this issue.
Minimized example
Output
In scala interactive
:type
printsExpectation
Shouldn't this instead fully expand?
The text was updated successfully, but these errors were encountered: