blob: 3987821f15863400827081c1ee9a2314b7be9014 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
trait Test {
def baz() {}
def bar()
def foo() {
println("hi")
}
lazy val x: Int
}
object Test {
lazy val x = 1
@deprecated lazy val y = 2
@deprecated private lazy val z = 2
lazy val (x1, y1) = (1, 2)
@deprecated private lazy val (x2, y2) = (1, 2)
val yy = x1 _
val zz: () => Int = yy
}
class Stream[+A] {
class Inner(x: A) extends Stream[A]
}
|