Deserialize annotations on property setter parameters
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
WARNING: $TESTDATA_DIR$/wrongAbiVersion.kt: (3, 9) Parameter 'x' is never used
|
||||
ERROR: $TESTDATA_DIR$/wrongAbiVersion.kt: (4, 3) Unresolved reference: bar
|
||||
ERROR: $TESTDATA_DIR$/wrongAbiVersionLib/wrong/WrongPackage.class: (0, 0) Class 'wrong/WrongPackage' was compiled with an incompatible version of Kotlin. Its ABI version is -1, expected ABI version is 10
|
||||
ERROR: $TESTDATA_DIR$/wrongAbiVersionLib/ClassWithWrongAbiVersion.class: (0, 0) Class 'ClassWithWrongAbiVersion' was compiled with an incompatible version of Kotlin. Its ABI version is -1, expected ABI version is 10
|
||||
ERROR: $TESTDATA_DIR$/wrongAbiVersionLib/wrong/WrongPackage.class: (0, 0) Class 'wrong/WrongPackage' was compiled with an incompatible version of Kotlin. Its ABI version is -1, expected ABI version is 11
|
||||
ERROR: $TESTDATA_DIR$/wrongAbiVersionLib/ClassWithWrongAbiVersion.class: (0, 0) Class 'ClassWithWrongAbiVersion' was compiled with an incompatible version of Kotlin. Its ABI version is -1, expected ABI version is 11
|
||||
COMPILATION_ERROR
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
annotation class A
|
||||
|
||||
class Class {
|
||||
var Int.foo: Int
|
||||
get() = this
|
||||
set([A] value) {}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package test
|
||||
|
||||
internal final annotation class A : jet.Annotation {
|
||||
/*primary*/ public constructor A()
|
||||
}
|
||||
|
||||
internal final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
internal final var jet.Int.foo: jet.Int
|
||||
internal final fun jet.Int.<get-foo>(): jet.Int
|
||||
internal final fun jet.Int.<set-foo>(/*0*/ test.A() value: jet.Int): jet.Unit
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
annotation class A
|
||||
|
||||
class Class {
|
||||
var foo: Int
|
||||
get() = 42
|
||||
set([A] value) {}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package test
|
||||
|
||||
internal final annotation class A : jet.Annotation {
|
||||
/*primary*/ public constructor A()
|
||||
}
|
||||
|
||||
internal final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
internal final var foo: jet.Int
|
||||
internal final fun <get-foo>(): jet.Int
|
||||
internal final fun <set-foo>(/*0*/ test.A() value: jet.Int): jet.Unit
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package test
|
||||
|
||||
annotation class A
|
||||
annotation class B
|
||||
|
||||
var foo: Int
|
||||
get() = 42
|
||||
set([A B] value) {}
|
||||
@@ -0,0 +1,13 @@
|
||||
package test
|
||||
|
||||
internal var foo: jet.Int
|
||||
internal fun <get-foo>(): jet.Int
|
||||
internal fun <set-foo>(/*0*/ test.A() test.B() value: jet.Int): jet.Unit
|
||||
|
||||
internal final annotation class A : jet.Annotation {
|
||||
/*primary*/ public constructor A()
|
||||
}
|
||||
|
||||
internal final annotation class B : jet.Annotation {
|
||||
/*primary*/ public constructor B()
|
||||
}
|
||||
Reference in New Issue
Block a user