diff options
author | James Iry <jamesiry@gmail.com> | 2013-02-07 16:48:13 -0800 |
---|---|---|
committer | James Iry <jamesiry@gmail.com> | 2013-02-07 16:48:13 -0800 |
commit | bbac0c06020db47dc46e3df7eb083b4f9f70a260 (patch) | |
tree | 54bec87fbdb3b7d6a0d1ac2e7e9593a35d7c35e8 /test | |
parent | 427e1864aec01b3b23ddc133c2090eec5c201be0 (diff) | |
parent | a53e1508660f849e86e34808e5d4230b078f7a3e (diff) | |
download | scala-bbac0c06020db47dc46e3df7eb083b4f9f70a260.tar.gz scala-bbac0c06020db47dc46e3df7eb083b4f9f70a260.tar.bz2 scala-bbac0c06020db47dc46e3df7eb083b4f9f70a260.zip |
Merge pull request #2089 from VladUreche/issue/7100
SI-7100 Fixed infinite recursion in duplicators
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/SI-7100.scala | 6 |
1 files changed, 6 insertions, 0 deletions
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] + } +} |