We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@main def Test = { implicitly[("k" | "v") <:< ("k" | "v")] implicitly[("k" | "v") =:= ("k" | "v")] }
Error:(127, 42) Cannot prove that ("k" : String/T) |/T ("v" : String/T) <:< ("k" : String/T) |/T ("v" : String/T).. I found: <:<.refl[Nothing/T] But method refl in object <:</T does not match type (("k" : String/T) |/T ("v" : String/T)) <:</T (("k" : String/T) |/T ("v" : String/T) ). implicitly[("k" | "v") <:< ("k" | "v")]
Expected it to compile
The text was updated successfully, but these errors were encountered:
Possibly related? #10897
Sorry, something went wrong.
Regression test for scala#8833
df3ba64
7d0aa42
Merge pull request #12154 from dotty-staging/test-8833
1379ffc
Regression test for #8833
3ec997e
odersky
Successfully merging a pull request may close this issue.
Minimized code
Output
Expectation
Expected it to compile
The text was updated successfully, but these errors were encountered: