diff options
Diffstat (limited to 'test/files/jvm')
-rw-r--r-- | test/files/jvm/deprecation.cmds | 3 | ||||
-rw-r--r-- | test/files/jvm/deprecation/Test_1.scala | 6 |
2 files changed, 3 insertions, 6 deletions
diff --git a/test/files/jvm/deprecation.cmds b/test/files/jvm/deprecation.cmds deleted file mode 100644 index 4c0f73c58b..0000000000 --- a/test/files/jvm/deprecation.cmds +++ /dev/null @@ -1,3 +0,0 @@ -javac Defs.java -scalac Test_1.scala -javac Use_2.java diff --git a/test/files/jvm/deprecation/Test_1.scala b/test/files/jvm/deprecation/Test_1.scala index 92173f94e2..0a5b607037 100644 --- a/test/files/jvm/deprecation/Test_1.scala +++ b/test/files/jvm/deprecation/Test_1.scala @@ -8,9 +8,9 @@ class Test { val w = i.buz() } - @deprecated("no longer!") class Inner { - @deprecated("uncool") def f: Int = 1 - @deprecated("this one as well!") var g = -1 + @deprecated("no longer!", "") class Inner { + @deprecated("uncool", "") def f: Int = 1 + @deprecated("this one as well!", "") var g = -1 } } |