Skip to content

Commit 6674cda

Browse files
committed
SI-5413 Test for fixed owner-corruption bug with names/defaults
Fixed in SI-8111 / 2.10.4.
1 parent b431a4b commit 6674cda

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/files/pos/t5413.scala

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
object Fail {
2+
def nom (guard : => Boolean) (something : => Unit) { }
3+
def main(args: Array[String]) {
4+
nom {
5+
val i = 0
6+
(i != 3)
7+
}()
8+
}
9+
}

0 commit comments

Comments
 (0)