blob: bc997d6f81a5043317a1e4e1e45cff2b1e8c147c (
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();
}
}
|