-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Quoted patterns regression: match with Underlying type fails #16522
Labels
Milestone
Comments
hmf
added
itype:bug
stat:needs triage
Every issue needs to have an "area" and "itype" label
labels
Dec 14, 2022
hmf
changed the title
Quoted patterns regression: match with
Quoted patterns regression: match with Underlying type fails
Dec 14, 2022
anatoliykmetyuk
added
area:metaprogramming:quotes
Issues related to quotes and splices
and removed
stat:needs triage
Every issue needs to have an "area" and "itype" label
labels
Dec 19, 2022
We do not infer the bounds for that - case '{HCons($h1: hd1, HCons($h2: hd2, $_ : tl))} =>
+ case '{type tl <: HList; HCons($h1: hd1, HCons($h2: hd2, $_ : `tl`))} => |
#18133 will fix the error message. |
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 13, 2023
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 18, 2023
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 19, 2023
Fixes scala#14708 Fixes scala#16522 Fixes scala#18125 Fixes scala#18250
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 19, 2023
Fixes scala#14708 Fixes scala#16522 Fixes scala#18125 Fixes scala#18250
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 19, 2023
Fixes scala#14708 Fixes scala#16522 Fixes scala#18125 Fixes scala#18250
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 19, 2023
Fixes scala#14708 Fixes scala#16522 Fixes scala#18125 Fixes scala#18250
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 20, 2023
Fixes scala#14708 Fixes scala#16522 Fixes scala#18125 Fixes scala#18250
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 20, 2023
Fixes scala#14708 Fixes scala#16522 Fixes scala#18125 Fixes scala#18250
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 20, 2023
Fixes scala#14708 Fixes scala#16522 Fixes scala#18125 Fixes scala#18250
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 20, 2023
Fixes scala#14708 Fixes scala#16522 Fixes scala#18125 Fixes scala#18250
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 20, 2023
Fixes scala#14708 Fixes scala#16522 Fixes scala#18125 Fixes scala#18250
smarter
added a commit
that referenced
this issue
Jul 25, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Compiler version
Compiler version 3.2.1
Minimized code
This is the code that worked when discussed in issue #10358. I am reporting it here so that it does not slip through the cracks (discussed in November 2020):
Output
Compiler explanation:
Expectation
Expect the code in #10358 to keep working on the latest compiler.
The text was updated successfully, but these errors were encountered: