Add field and property deserialization tests

This commit is contained in:
Yan Zhulanow
2015-08-06 17:31:39 +03:00
parent 1b9dab47ec
commit 1a477bd540
7 changed files with 74 additions and 0 deletions
@@ -0,0 +1,7 @@
package test
annotation class Anno
class Class {
@field:Anno var property: Int = 42
}
@@ -0,0 +1,12 @@
package test
kotlin.annotation.annotation() internal final class Anno : kotlin.Annotation {
/*primary*/ public constructor Anno()
}
internal final class Class {
/*primary*/ public constructor Class()
@field:test.Anno() internal final var property: kotlin.Int
internal final fun <get-property>(): kotlin.Int
internal final fun <set-property>(/*0*/ <set-?>: kotlin.Int): kotlin.Unit
}
@@ -0,0 +1,7 @@
package test
annotation class Anno
class Class {
@Anno var property: Int = 42
}
@@ -0,0 +1,12 @@
package test
kotlin.annotation.annotation() internal final class Anno : kotlin.Annotation {
/*primary*/ public constructor Anno()
}
internal final class Class {
/*primary*/ public constructor Class()
test.Anno() internal final var property: kotlin.Int
internal final fun <get-property>(): kotlin.Int
internal final fun <set-property>(/*0*/ <set-?>: kotlin.Int): kotlin.Unit
}