blob: 10bbf3ac1221911eeb38117d2cfc7c2e4a995c09 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import scala._;
object test {
def f(x: Int) = {
def g() = h();
def h() = x;
g();
class inner() {
def g() = h();
def h() = x;
}
g() + new inner().g();
}
}
|