-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
area:match-typesarea:typeritype:bugregressionThis worked in a previous version but doesn't anymoreThis worked in a previous version but doesn't anymore
Description
Compiler version
Our ongoing effort to port parboiled2 (and maybe more importantly akka-http and depending projects) to Scala 3, is hindered by the fact that code that compiled with 3.0.1, does not type correctly any more with 3.0.2.
Admittedly, the typing code is sophisticated, so we didn't expect that it would work unchanged from Scala 2 before. We rewrote some of the heavy implicit machinery using type matches which seemed to work somewhat with 3.0.1 (aside from some typing errors, stack overflows in the typer, and typing termination problems that we ignored or worked around for now).
Reproducer
See sirthias/parboiled2#280, and use Scala 3.0.2 instead.
Output
Lots of type errors.
Expectation
Typing correctly.
Metadata
Metadata
Assignees
Labels
area:match-typesarea:typeritype:bugregressionThis worked in a previous version but doesn't anymoreThis worked in a previous version but doesn't anymore