The following produces different results depending on which line is un-commented.
// implicit class C(i: Int): //extension the old way // extension (i: Int) //extension the new way def @:(arg: Int):Unit = println(s"$i.@:($arg)") 44 @: 7
Is this by design? I haven’t found it documented.