summaryrefslogtreecommitdiff
path: root/test/files/pos/SI-5788.scala
diff options
context:
space:
mode:
authorVlad Ureche <vlad.ureche@gmail.com>2012-08-06 20:05:49 +0200
committerVlad Ureche <vlad.ureche@gmail.com>2012-08-06 20:10:20 +0200
commitf492d0aaaa956cfeb1f5efdd29bccf4bc8a35e18 (patch)
tree4d28b3d08a886067160de3a098f6e8a51a627c7b /test/files/pos/SI-5788.scala
parentba402c457aecf7d94038534775b7b063d7d5bd9e (diff)
downloadscala-f492d0aaaa956cfeb1f5efdd29bccf4bc8a35e18.tar.gz
scala-f492d0aaaa956cfeb1f5efdd29bccf4bc8a35e18.tar.bz2
scala-f492d0aaaa956cfeb1f5efdd29bccf4bc8a35e18.zip
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
Diffstat (limited to 'test/files/pos/SI-5788.scala')
-rw-r--r--test/files/pos/SI-5788.scala4
1 files changed, 4 insertions, 0 deletions
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]()
+}