custom implicitNotFound
ignored when unrelated default argument is inserted
#19594
Labels
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Compiler version
3.1.3+
(3.1.2 is the last version where the
implicitNotFound
is not ignored)Minimized code
Output
Scala 3.1.3
scala-cli run --scala-version 3.1.3 minimunit.scala
Scala 3.1.2
scala-cli run --scala-version 3.1.2 minimunit.scala
Expectation
The
implicitNotFound
message should appear whether or not there is a default argument involved.If we remove the
clue: => Any = "values are not the same"
line, theimplicitNotFound
message is again returned on Scala versions greater than 3.1.2I encountered this issue when trying to upgrade munit to Scala 3.3.1
scalameta/munit#733
The text was updated successfully, but these errors were encountered: