Skip to content

Commit d471211

Browse files
committed
Move test that fails again to disabled.
1 parent 78aa682 commit d471211

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

tests/disabled/run/innerObject.check

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
1
2+
2

tests/disabled/run/innerObject.scala

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
object Test {
2+
def foo(x: Int) = {
3+
println(x)
4+
}
5+
6+
def outer(x: Int) = {
7+
def inner() = {
8+
foo(x)
9+
}
10+
inner()
11+
}
12+
13+
def outer2(x: Int) = {
14+
def inner2() = {
15+
Test.foo(x)
16+
}
17+
inner2()
18+
}
19+
20+
def main(args: Array[String]): Unit = {
21+
outer(1)
22+
outer2(2)
23+
}
24+
}

0 commit comments

Comments
 (0)