blob: 44b83e429d318c9bd42724d85281a5eac583dc82 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
trait T {
def id(i: Int) = i
def f(i: Int)(j: Int) = i+j
def g(i: Int, j: Int, k: Int) = i+j+k
def h(i: Int, j: Int, k: Int)(implicit s: String) = s*(i+j+k)
val w = id
val x = f
val y = g
val z = h
def +(i: Int) = i + 42
val p = +
}
|