From 6674cda3005e11355ec70e2ca262ef1eddb9afe6 Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Sun, 9 Nov 2014 11:27:15 +1000 Subject: SI-5413 Test for fixed owner-corruption bug with names/defaults Fixed in SI-8111 / 2.10.4. --- test/files/pos/t5413.scala | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/files/pos/t5413.scala (limited to 'test/files') diff --git a/test/files/pos/t5413.scala b/test/files/pos/t5413.scala new file mode 100644 index 0000000000..47af514a14 --- /dev/null +++ b/test/files/pos/t5413.scala @@ -0,0 +1,9 @@ +object Fail { + def nom (guard : => Boolean) (something : => Unit) { } + def main(args: Array[String]) { + nom { + val i = 0 + (i != 3) + }() + } +} -- cgit v1.2.3