From a53e1508660f849e86e34808e5d4230b078f7a3e Mon Sep 17 00:00:00 2001 From: Vlad Ureche Date: Thu, 7 Feb 2013 23:33:07 +0100 Subject: SI-7100 Fixed infinite recursion in duplicators --- test/files/pos/SI-7100.scala | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/files/pos/SI-7100.scala (limited to 'test') diff --git a/test/files/pos/SI-7100.scala b/test/files/pos/SI-7100.scala new file mode 100644 index 0000000000..7cb6356ec8 --- /dev/null +++ b/test/files/pos/SI-7100.scala @@ -0,0 +1,6 @@ +class Buffer { + def f[@specialized(Int) T](): T = 0 match { + case 0 => 0.asInstanceOf[T] + case 1 => 0.asInstanceOf[T] + } +} -- cgit v1.2.3