summaryrefslogtreecommitdiff
path: root/test/files/pos/elidable-tparams.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-01-12 19:32:10 +0000
committerPaul Phillips <paulp@improving.org>2011-01-12 19:32:10 +0000
commitb4ba25da7ea3ed8f7f6ab23af241f025d4e9ea27 (patch)
tree207c19eafeba624a0d706aedccd05461585dd0d3 /test/files/pos/elidable-tparams.scala
parent236f61c04c9bd3f4bb8651c0bd2fe1ac8c663095 (diff)
downloadscala-b4ba25da7ea3ed8f7f6ab23af241f025d4e9ea27.tar.gz
scala-b4ba25da7ea3ed8f7f6ab23af241f025d4e9ea27.tar.bz2
scala-b4ba25da7ea3ed8f7f6ab23af241f025d4e9ea27.zip
Some modifications to @elidable: for reasons lo...
Some modifications to @elidable: for reasons lost to me now it had a default value such that annotated methods might be elided even if the option wasn't given. It now does nothing in that situation. Closes #4051, #4151, no review.
Diffstat (limited to 'test/files/pos/elidable-tparams.scala')
-rw-r--r--test/files/pos/elidable-tparams.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/pos/elidable-tparams.scala b/test/files/pos/elidable-tparams.scala
index 456c472c4e..23b1cba615 100644
--- a/test/files/pos/elidable-tparams.scala
+++ b/test/files/pos/elidable-tparams.scala
@@ -4,7 +4,7 @@ import elidable._
class ElidableCrashTest {
trait My
- @elidable(ALL) def foo[a >: My <: My]: scala.Unit = ()
+ @elidable(MINIMUM) def foo[a >: My <: My]: scala.Unit = ()
foo[My] // crash
} \ No newline at end of file