Closed
Description
Compiler version
v3.1.1-RC2
Minimized code
https://scastie.scala-lang.org/MiSpvFT0SKygDNEJdezOzQ
class Foo
extension (foo : Foo)
def patch(arg : List[Int], arg2 : Int = 0) : Unit = {}
def patch(arg : Int) : Unit = patch(List(arg))
Output
value patch is not a member of Playground.Foo.
An extension method was tried, but could not be fully constructed:
Playground.patch()
Expectation
No error.