Adjust testData: get rid of obsolete annotations
This commit is contained in:
+1
-1
@@ -3,4 +3,4 @@ package test
|
||||
annotation class A
|
||||
annotation class B
|
||||
|
||||
class Class([A] val x: Int, [B] y: String)
|
||||
class Class(@[A] val x: Int, @[B] y: String)
|
||||
|
||||
+1
-1
@@ -3,4 +3,4 @@ package test
|
||||
annotation class A
|
||||
annotation class B
|
||||
|
||||
enum class E([A] val x: String, [B] val y: Int)
|
||||
enum class E(@[A] val x: String, @[B] val y: Int)
|
||||
|
||||
+1
-1
@@ -2,4 +2,4 @@ package test
|
||||
|
||||
annotation class A
|
||||
|
||||
fun Int.foo([A] x: Int) {}
|
||||
fun Int.foo(@[A] x: Int) {}
|
||||
|
||||
Vendored
+1
-1
@@ -4,5 +4,5 @@ package test
|
||||
annotation class Anno
|
||||
|
||||
class Class {
|
||||
fun String.foo([Anno] x: Int) = 42
|
||||
fun String.foo(@[Anno] x: Int) = 42
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -5,5 +5,5 @@ annotation class A
|
||||
class Class {
|
||||
var Int.foo: Int
|
||||
get() = this
|
||||
set([A] value) {}
|
||||
set(@[A] value) {}
|
||||
}
|
||||
|
||||
+1
-1
@@ -3,5 +3,5 @@ package test
|
||||
annotation class Anno
|
||||
|
||||
class Class {
|
||||
fun foo([Anno] x: String) {}
|
||||
fun foo(@[Anno] x: String) {}
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,5 +4,5 @@ package test
|
||||
annotation class Anno
|
||||
|
||||
interface Trait {
|
||||
fun foo([Anno] x: String) = 42
|
||||
fun foo(@[Anno] x: String) = 42
|
||||
}
|
||||
|
||||
+2
-2
@@ -4,7 +4,7 @@ package test
|
||||
annotation class A(val s: String)
|
||||
|
||||
class Outer {
|
||||
class Nested([A("nested")] val x: String)
|
||||
class Nested(@[A("nested")] val x: String)
|
||||
|
||||
inner class Inner([A("inner")] val y: String)
|
||||
inner class Inner(@[A("inner")] val y: String)
|
||||
}
|
||||
|
||||
+2
-2
@@ -5,6 +5,6 @@ annotation class B
|
||||
annotation class C
|
||||
annotation class D
|
||||
|
||||
fun foo([A B] x: Int, [A C] y: Double, [B C D] z: String) {}
|
||||
fun foo(@[A B] x: Int, @[A C] y: Double, @[B C D] z: String) {}
|
||||
|
||||
fun bar([A B C D] x: Int) {}
|
||||
fun bar(@[A B C D] x: Int) {}
|
||||
|
||||
+1
-1
@@ -5,5 +5,5 @@ annotation class A
|
||||
class Class {
|
||||
var foo: Int
|
||||
get() = 42
|
||||
set([A] value) {}
|
||||
set(@[A] value) {}
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,4 +2,4 @@ package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
fun foo([Anno] x: Int) {}
|
||||
fun foo(@[Anno] x: Int) {}
|
||||
|
||||
+1
-1
@@ -5,4 +5,4 @@ annotation class B
|
||||
|
||||
var foo: Int
|
||||
get() = 42
|
||||
set([A B] value) {}
|
||||
set(@[A B] value) {}
|
||||
|
||||
Reference in New Issue
Block a user