You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To be clear, the bound AA <: A in trait M is clear redundant, but it's needed in the real use case where the parameter is of slightly more complex type.
The text was updated successfully, but these errors were encountered:
Happens in 2.12 and 2.13 (didn't check in 2.11)
The same simple code in a value class causes compilation error:
Scastie https://scastie.scala-lang.org/Uyhm8ZzAQkqJTiNP02zXmw
To be clear, the bound
AA <: A
intrait M
is clear redundant, but it's needed in the real use case where the parameter is of slightly more complex type.The text was updated successfully, but these errors were encountered: