Fix tests

This commit is contained in:
Yan Zhulanow
2015-08-06 18:59:37 +03:00
parent 552211b2f4
commit 2ce9903356
84 changed files with 221 additions and 195 deletions
@@ -4,6 +4,6 @@ annotation class Anno
class Class {
companion object {
@[Anno] var property: Int = 42
@field:Anno var property: Int = 42
}
}
@@ -9,7 +9,7 @@ internal final class Class {
public companion object Companion {
/*primary*/ private constructor Companion()
test.Anno() internal final var property: kotlin.Int
@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
}
@@ -8,5 +8,5 @@ annotation class Anno(val t: ElementType)
class Class {
Anno(ElementType.METHOD) fun foo() {}
Anno(ElementType.FIELD) var bar = 42
@field:Anno(ElementType.FIELD) var bar = 42
}
@@ -8,7 +8,7 @@ kotlin.annotation.annotation() internal final class Anno : kotlin.Annotation {
internal final class Class {
/*primary*/ public constructor Class()
test.Anno(t = ElementType.FIELD) internal final var bar: kotlin.Int
@field:test.Anno(t = ElementType.FIELD) internal final var bar: kotlin.Int
internal final fun <get-bar>(): kotlin.Int
internal final fun <set-bar>(/*0*/ <set-?>: kotlin.Int): kotlin.Unit
test.Anno(t = ElementType.METHOD) internal final fun foo(): kotlin.Unit
@@ -3,5 +3,5 @@ package test
annotation class Anno
class Class {
@[Anno] var property: Int = 42
@field:Anno var property: Int = 42
}
@@ -6,7 +6,7 @@ kotlin.annotation.annotation() internal final class Anno : kotlin.Annotation {
internal final class Class {
/*primary*/ public constructor Class()
test.Anno() internal final var property: kotlin.Int
@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
}