diff options
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/docgenerator.scala | 12 | ||||
-rw-r--r-- | test/files/run/t1500.scala | 2 | ||||
-rw-r--r-- | test/files/run/t1501.scala | 2 |
3 files changed, 8 insertions, 8 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 } () } diff --git a/test/files/run/t1500.scala b/test/files/run/t1500.scala index a2f4192130..58adea221c 100644 --- a/test/files/run/t1500.scala +++ b/test/files/run/t1500.scala @@ -29,7 +29,7 @@ object Test { /** Check annotations to decide whether tpe1 <:< tpe2 */ def annotationsConform(tpe1: Type, tpe2: Type): Boolean = { - tpe1.attributes.forall(a1 => tpe2.attributes.forall(a2 => a1.atp <:< a2.atp)) + tpe1.annotations.forall(a1 => tpe2.annotations.forall(a2 => a1.atp <:< a2.atp)) } } diff --git a/test/files/run/t1501.scala b/test/files/run/t1501.scala index 07190a3b2c..2a29a6c5a5 100644 --- a/test/files/run/t1501.scala +++ b/test/files/run/t1501.scala @@ -40,7 +40,7 @@ object Test { /** Check annotations to decide whether tpe1 <:< tpe2 */ def annotationsConform(tpe1: Type, tpe2: Type): Boolean = { - tpe1.attributes.forall(a1 => tpe2.attributes.forall(a2 => a1.atp <:< a2.atp)) + tpe1.annotations.forall(a1 => tpe2.annotations.forall(a2 => a1.atp <:< a2.atp)) } } |