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
Given that we can write
type K0[T] = T val a: K0[Int] = 1 type K1[T[_]] = T val b: K1[List][Int] = Nil
We could try abstract this type over kind with
type K[T <: AnyKind] = T val a: K[Int] = 1 val b: K[List][Int] = Nil
Though this one currently fails with
-- [E056] Syntax Error ---------------------------- 9 | val a: K[Int] = 1 | ^^^^^^ | Missing type parameter for Test.K[Int] -- [E056] Syntax Error --------------------------- 12 | val b: K[List][Int] = Nil | ^^^^^^^^^^^^ | Missing type parameter for Test.K[List][Int]
There is a potential usecase in #6082 for the internal encoding of quoted.Type splices.
quoted.Type
The text was updated successfully, but these errors were encountered:
@odersky @milessabin is this pattern supposed to be supported by kind polymorphism?
Sorry, something went wrong.
fb13bc7
Merge pull request #6099 from dotty-staging/fix-#6083
b213f24
Fix #6083: Dealias before kind checking
odersky
No branches or pull requests
Given that we can write
We could try abstract this type over kind with
Though this one currently fails with
There is a potential usecase in #6082 for the internal encoding of
quoted.Type
splices.The text was updated successfully, but these errors were encountered: