Scala 3: how do we make a lambda type conform to a subtype?

Looks like a regression to me, I’ve created an issue to track progress and discussions on this issue. As a temporal workaround you can use Scala 3.3.0 (does not have this regression) instead of 3.3.1. The earliest the fix can be applied is 3.3.3 which is ~6 weeks from now.

2 Likes