Implicit search ignores implicit definitions for a subtype imported from inside a parameter value #12721
Labels
fixed in Scala 3
This issue does not exist in the Scala 3 compiler (https://github.com/lampepfl/dotty/)
typer
Milestone
Reproduction steps
Scala version:
2.13.10 (https://scastie.scala-lang.org/DXf5ct0bSCOWZkyrZtmDQQ)
2.12.17 (https://scastie.scala-lang.org/1ZQxsfQvRxeA1ulIZcTI6Q)
Note: 3.2.2 behaves as expected (https://scastie.scala-lang.org/o9DgmHrBQ0ymlC3KHnxfqg)
Output
Expected behavior
Code compiles
The text was updated successfully, but these errors were encountered: