diff options
author | Paul Phillips <paulp@improving.org> | 2010-11-08 20:10:53 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-11-08 20:10:53 +0000 |
commit | 71f765bc4f9ef4599855a7550dd79347c4c578ba (patch) | |
tree | efdb2bdf4c5bf26fe794da6bb67a33c4e76b4d76 /test | |
parent | 942bf86c7bb28c7d9aeae82204ae060ae330d9b6 (diff) | |
download | scala-71f765bc4f9ef4599855a7550dd79347c4c578ba.tar.gz scala-71f765bc4f9ef4599855a7550dd79347c4c578ba.tar.bz2 scala-71f765bc4f9ef4599855a7550dd79347c4c578ba.zip |
Fixed crasher with @elidable on parameterized m...
Fixed crasher with @elidable on parameterized methods. Closes #3981, no
review.
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/elidable-tparams.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/pos/elidable-tparams.scala b/test/files/pos/elidable-tparams.scala new file mode 100644 index 0000000000..456c472c4e --- /dev/null +++ b/test/files/pos/elidable-tparams.scala @@ -0,0 +1,10 @@ +import annotation._ +import elidable._ + +class ElidableCrashTest { + trait My + + @elidable(ALL) def foo[a >: My <: My]: scala.Unit = () + + foo[My] // crash +}
\ No newline at end of file |