blob: 28ac32656bc7aa8cd0bb3cf255e1611c2bea4e16 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
package test
import dotty._
import Predef.{any2stringadd => _, StringAdd => _, _}
object implicitDefs {
implicit val x = 2
implicit def y(x: Int) = 3
implicit def z(a: x.type): String = ""
}
|