summaryrefslogtreecommitdiff
path: root/test/files/run/docgenerator.scala
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@epfl.ch>2009-05-30 18:10:21 +0000
committerLukas Rytz <lukas.rytz@epfl.ch>2009-05-30 18:10:21 +0000
commitc6cf4fc02204d20f792bd493641d8ccd12421800 (patch)
treea8827ab270cf77a1c5f36a48a8cf125e1bcfb8c3 /test/files/run/docgenerator.scala
parentab9381b4539097205d19df235f8cc3a5b2349e95 (diff)
downloadscala-c6cf4fc02204d20f792bd493641d8ccd12421800.tar.gz
scala-c6cf4fc02204d20f792bd493641d8ccd12421800.tar.bz2
scala-c6cf4fc02204d20f792bd493641d8ccd12421800.zip
big overhaul of annotations implementation.
Diffstat (limited to 'test/files/run/docgenerator.scala')
-rw-r--r--test/files/run/docgenerator.scala12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/files/run/docgenerator.scala b/test/files/run/docgenerator.scala
index e3f724a603..f3738f4fc0 100644
--- a/test/files/run/docgenerator.scala
+++ b/test/files/run/docgenerator.scala
@@ -51,25 +51,25 @@ object Test {
val code ="""
package annots
-@deprecated
+@deprecated("msg")
object Foo { val x = 0 }
-@deprecated
+@deprecated("msg")
class Bar { val x = 1 }
object Foo1 {
- @deprecated
+ @deprecated("msg")
object Foo11 { val x = 3 }
}
class Bar1 {
- @deprecated
+ @deprecated("msg")
object Foo11 { val x = 2 }
}
class Bar2 {
def bar {
- @deprecated
+ @deprecated("msg")
object Foo21 { val x = 4 }
()
}
@@ -77,7 +77,7 @@ class Bar2 {
object Foo2 {
def foo {
- @deprecated
+ @deprecated("msg")
object Foo21 { val x = 5 }
()
}