blob: 216e92a1c6d9b47514b88f4b3922969536540c43 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
object Test extends Application {
private def f = new T { val state = State.A }
private object State extends Enumeration {
val A, B = Value
}
f
}
trait T {
}
|