summaryrefslogtreecommitdiff
path: root/test/files/run/elidable.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-03-24 16:23:48 +0000
committerPaul Phillips <paulp@improving.org>2010-03-24 16:23:48 +0000
commitc7c8981b43a6df71e088b444dacf53d609a21ffc (patch)
tree68874111359ccd5335011daa949791bf3706062b /test/files/run/elidable.scala
parentcb9f3c3d0ff62c45e316aac6b121db16e8fd859e (diff)
downloadscala-c7c8981b43a6df71e088b444dacf53d609a21ffc.tar.gz
scala-c7c8981b43a6df71e088b444dacf53d609a21ffc.tar.bz2
scala-c7c8981b43a6df71e088b444dacf53d609a21ffc.zip
Fixed an issue with no-parameter-list methods n...
Fixed an issue with no-parameter-list methods not being elided. No review.
Diffstat (limited to 'test/files/run/elidable.scala')
-rw-r--r--test/files/run/elidable.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/run/elidable.scala b/test/files/run/elidable.scala
index e0ac2ed0db..2a527efc4b 100644
--- a/test/files/run/elidable.scala
+++ b/test/files/run/elidable.scala
@@ -5,10 +5,12 @@ object Test {
@elidable(FINEST) def f1() = assert(false, "Should have been elided.")
@elidable(INFO) def f2() = assert(false, "Should have been elided.")
@elidable(SEVERE) def f3() = println("Good for me, I was not elided.")
+ @elidable(INFO) def f4 = assert(false, "Should have been elided (no parens).")
def main(args: Array[String]): Unit = {
f1()
f2()
f3()
+ f4
}
}