Open
Description
scalac seems to think that function argument type can not implement local trait but that is not true.
See an example:
https://scastie.scala-lang.org/UvXkI2YiRJi8uXePPp1cHg
Reproduced on 2.12.8, 2.13.0
scalac seems to think that function argument type can not implement local trait but that is not true.
See an example:
https://scastie.scala-lang.org/UvXkI2YiRJi8uXePPp1cHg
Reproduced on 2.12.8, 2.13.0