Closed japgolly closed 3 years ago
Actually, staring at this minimisation maybe the warning is correct and it's Scala 2.13 that's missing a warning.
Action[Page]
doesn't have anything to say about the bounds of Props
in Renderer[Page, Props]
. Hmmmm.
Pls confirm? I think I need to inverse and move this issue over to Scala 2 land.
Yes, obviously it could match Renderer[Page, p]
for any p
. There is no reason it should be the Props
defined outside. Don't hold your breath for Scala 2 to fix this, though 😛
Yeah. Thanks for the confirmation @LPTK :grinning: In to the Scala 2 backlog abyss it goes!
Scala 2 has received a bunch of improvements around pattern checks. This will be on the top of pile where someone might notice it.
Fantastic! Very glad to hear that Scala 2 will keep getting love and care for a while yet :grin:
Compiler version
3.0.0
Minimized code
Output
Expectation
No warnings. (Scala 2.13.6 emits no warnings.)