From 71f765bc4f9ef4599855a7550dd79347c4c578ba Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Mon, 8 Nov 2010 20:10:53 +0000 Subject: Fixed crasher with @elidable on parameterized m... Fixed crasher with @elidable on parameterized methods. Closes #3981, no review. --- test/files/pos/elidable-tparams.scala | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/files/pos/elidable-tparams.scala (limited to 'test/files/pos/elidable-tparams.scala') 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 -- cgit v1.2.3