-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
errors and warningsfixed in Scala 3This issue does not exist in the Scala 3 compiler (https://github.com/lampepfl/dotty/)This issue does not exist in the Scala 3 compiler (https://github.com/lampepfl/dotty/)
Milestone
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
Metadata
Metadata
Assignees
Labels
errors and warningsfixed in Scala 3This issue does not exist in the Scala 3 compiler (https://github.com/lampepfl/dotty/)This issue does not exist in the Scala 3 compiler (https://github.com/lampepfl/dotty/)