From f492d0aaaa956cfeb1f5efdd29bccf4bc8a35e18 Mon Sep 17 00:00:00 2001 From: Vlad Ureche Date: Mon, 6 Aug 2012 20:05:49 +0200 Subject: SI-5788 Tailcalls LabelDefs correctly duplicated ... in specialization. This is a quick hack to get SI-5788 fixed in 2.10.x. The full patch, which fixes the tailcalls LabelDefs will be merged into trunk, as it's too late for big changes. For reference, the complete fix is: e86afe65c8 --- test/files/pos/SI-5788.scala | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/files/pos/SI-5788.scala (limited to 'test/files/pos') diff --git a/test/files/pos/SI-5788.scala b/test/files/pos/SI-5788.scala new file mode 100644 index 0000000000..93b84bde87 --- /dev/null +++ b/test/files/pos/SI-5788.scala @@ -0,0 +1,4 @@ +trait Test { + trait B[T] + private final def grow[T](): B[T] = grow[T]() +} -- cgit v1.2.3