Adjust testData: get rid of obsolete annotations
This commit is contained in:
@@ -4,8 +4,8 @@ import dependency.*
|
||||
|
||||
data A("a") B(1) C class Annotations {
|
||||
|
||||
inline A("f") B(2) C fun f(A("i") B(3) C deprecated("1") i: [A("int")] Int) {
|
||||
inline A("f") B(2) C fun f(A("i") B(3) C deprecated("1") i: @A("int") Int) {
|
||||
}
|
||||
|
||||
inline A("p") B(3) C val p: [B(4)] Int = 2
|
||||
inline A("p") B(3) C val p: @B(4) Int = 2
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,4 +2,4 @@ package test
|
||||
|
||||
import dependency.*
|
||||
|
||||
class AnnotationsOnPrimaryCtr [A("a")] private [B(1) C] ()
|
||||
class AnnotationsOnPrimaryCtr @A("a") private @B(1) @C constructor()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
a public class Annotations private [a] (private [a] val c1: Int, [a] val c2: Int) {
|
||||
a public class Annotations private @a constructor(private @a val c1: Int, @a val c2: Int) {
|
||||
|
||||
protected a fun f() {
|
||||
}
|
||||
@@ -7,22 +7,22 @@ a public class Annotations private [a] (private [a] val c1: Int, [a] val c2: Int
|
||||
|
||||
b(E.E1) private val c: Int = 1
|
||||
|
||||
a b(E.E2) public fun g([a] p1: E) {
|
||||
a b(E.E2) public fun g(@a p1: E) {
|
||||
}
|
||||
|
||||
var withCustomAccessors: Int = 0
|
||||
//TODO: accessor modifiers are lost
|
||||
[a] get
|
||||
[a] private set
|
||||
@a get
|
||||
@a private set
|
||||
|
||||
|
||||
private b(E.E2) companion object {
|
||||
|
||||
}
|
||||
|
||||
class Nested [a] private [b(E.E1) b(E.E2)] ()
|
||||
class Nested @a private @b(E.E1) @b(E.E2) constructor()
|
||||
|
||||
fun types(param: [a] [b(E.E1)] DoubleRange): [a] [b(E.E2)] Unit {}
|
||||
fun types(param: @a @b(E.E1) DoubleRange): @a @b(E.E2) Unit {}
|
||||
}
|
||||
|
||||
annotation class a
|
||||
|
||||
Vendored
+1
-1
@@ -4,7 +4,7 @@ import d.e.f.*
|
||||
|
||||
a b val i: Int = 0
|
||||
|
||||
a b fun f([a b] p1: C): Int = 0
|
||||
a b fun f(@a @b p1: C): Int = 0
|
||||
|
||||
|
||||
class C
|
||||
Reference in New Issue
Block a user