diff --git a/tests/pos-java-interop-separate/i6868/MyScala_2.scala b/tests/pos-java-interop-separate/i6868/MyScala_2.scala index e0fd84008f39..607eefafa6a3 100644 --- a/tests/pos-java-interop-separate/i6868/MyScala_2.scala +++ b/tests/pos-java-interop-separate/i6868/MyScala_2.scala @@ -1,4 +1,4 @@ -@MyJava_1("MyScala1", typeA = MyJava_1.MyClassTypeA.B) +@MyJava_1(value = "MyScala1", typeA = MyJava_1.MyClassTypeA.B) object MyScala { def a(mj: MyJava_1): Unit = { println("MyJava") diff --git a/tests/pos/i6151/Test.scala b/tests/pos/i6151/Test.scala index 314cf5a0ea8f..118e6a72c354 100644 --- a/tests/pos/i6151/Test.scala +++ b/tests/pos/i6151/Test.scala @@ -1,3 +1,3 @@ import Expect.* -@Outcome(ExpectVal) +@Outcome(enm = ExpectVal) class SimpleTest diff --git a/tests/run-macros/i19951-java-annotations-tasty-compat-2/ScalaUser_1.scala b/tests/run-macros/i19951-java-annotations-tasty-compat-2/ScalaUser_1.scala index a14a69eae21b..7601dcf43ed2 100644 --- a/tests/run-macros/i19951-java-annotations-tasty-compat-2/ScalaUser_1.scala +++ b/tests/run-macros/i19951-java-annotations-tasty-compat-2/ScalaUser_1.scala @@ -1,20 +1,15 @@ class ScalaUser { - @JavaAnnot(5) - def f1(): Int = 1 @JavaAnnot(a = 5) def f2(): Int = 1 - @JavaAnnot(5, "foo") + @JavaAnnot(a = 5, b = "foo") def f3(): Int = 1 - @JavaAnnot(5, "foo", 3) - def f4(): Int = 1 - - @JavaAnnot(5, c = 3) + @JavaAnnot(a = 5, c = 3) def f5(): Int = 1 - @JavaAnnot(5, c = 3, b = "foo") + @JavaAnnot(a = 5, c = 3, b = "foo") def f6(): Int = 1 @JavaAnnot(b = "foo", c = 3, a = 5) diff --git a/tests/run-macros/i19951-java-annotations-tasty-compat.check b/tests/run-macros/i19951-java-annotations-tasty-compat.check index c41fcc64c559..60cf38794296 100644 --- a/tests/run-macros/i19951-java-annotations-tasty-compat.check +++ b/tests/run-macros/i19951-java-annotations-tasty-compat.check @@ -1,6 +1,5 @@ ScalaUser: new JavaAnnot(c = _, a = 5, d = _, b = _) -new JavaAnnot(c = _, a = 5, d = _, b = _) new JavaAnnot(c = _, a = 5, d = _, b = "foo") new JavaAnnot(c = 3, a = 5, d = _, b = "foo") new JavaAnnot(c = 3, a = 5, d = _, b = _) diff --git a/tests/run-macros/i19951-java-annotations-tasty-compat/ScalaUser_2.scala b/tests/run-macros/i19951-java-annotations-tasty-compat/ScalaUser_2.scala index a14a69eae21b..421192636dbc 100644 --- a/tests/run-macros/i19951-java-annotations-tasty-compat/ScalaUser_2.scala +++ b/tests/run-macros/i19951-java-annotations-tasty-compat/ScalaUser_2.scala @@ -1,20 +1,18 @@ class ScalaUser { - @JavaAnnot(5) - def f1(): Int = 1 @JavaAnnot(a = 5) def f2(): Int = 1 - @JavaAnnot(5, "foo") + @JavaAnnot(a = 5, b = "foo") def f3(): Int = 1 - @JavaAnnot(5, "foo", 3) + @JavaAnnot(a = 5, b = "foo", c = 3) def f4(): Int = 1 - @JavaAnnot(5, c = 3) + @JavaAnnot(a = 5, c = 3) def f5(): Int = 1 - @JavaAnnot(5, c = 3, b = "foo") + @JavaAnnot(a = 5, c = 3, b = "foo") def f6(): Int = 1 @JavaAnnot(b = "foo", c = 3, a = 5)