Fix tests
This commit is contained in:
+1
-1
@@ -7,4 +7,4 @@ annotation class Anno(val t: ElementType)
|
||||
|
||||
Anno(ElementType.METHOD) fun foo() {}
|
||||
|
||||
Anno(ElementType.FIELD) val bar = 42
|
||||
@field:Anno(ElementType.FIELD) val bar = 42
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
test.Anno(t = ElementType.FIELD) internal val bar: kotlin.Int = 42
|
||||
@field:test.Anno(t = ElementType.FIELD) internal val bar: kotlin.Int = 42
|
||||
internal fun <get-bar>(): kotlin.Int
|
||||
test.Anno(t = ElementType.METHOD) internal fun foo(): kotlin.Unit
|
||||
|
||||
|
||||
+1
-1
@@ -7,6 +7,6 @@ annotation class Anno(vararg val t: ElementType)
|
||||
|
||||
Anno(ElementType.METHOD, ElementType.FIELD) fun foo() {}
|
||||
|
||||
Anno(ElementType.PACKAGE) val bar = 42
|
||||
@field:Anno(ElementType.PACKAGE) val bar = 42
|
||||
|
||||
Anno() fun baz() {}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
test.Anno(t = {ElementType.PACKAGE}) internal val bar: kotlin.Int = 42
|
||||
@field:test.Anno(t = {ElementType.PACKAGE}) internal val bar: kotlin.Int = 42
|
||||
internal fun <get-bar>(): kotlin.Int
|
||||
test.Anno(t = {}) internal fun baz(): kotlin.Unit
|
||||
test.Anno(t = {ElementType.METHOD, ElementType.FIELD}) internal fun foo(): kotlin.Unit
|
||||
|
||||
+1
-1
@@ -2,4 +2,4 @@ package test
|
||||
|
||||
annotation class Anno
|
||||
|
||||
@[Anno] var property: Int = 42
|
||||
@field:Anno var property: Int = 42
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
test.Anno() internal var property: kotlin.Int
|
||||
@field:test.Anno() internal var property: kotlin.Int
|
||||
internal fun <get-property>(): kotlin.Int
|
||||
internal fun <set-property>(/*0*/ <set-?>: kotlin.Int): kotlin.Unit
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -5,6 +5,6 @@ annotation class Anno(vararg val t: String)
|
||||
|
||||
Anno("live", "long") fun foo() {}
|
||||
|
||||
Anno("prosper") val bar = 42
|
||||
@field:Anno("prosper") val bar = 42
|
||||
|
||||
Anno() fun baz() {}
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
test.Anno(t = {"prosper"}) internal val bar: kotlin.Int = 42
|
||||
@field:test.Anno(t = {"prosper"}) internal val bar: kotlin.Int = 42
|
||||
internal fun <get-bar>(): kotlin.Int
|
||||
test.Anno(t = {}) internal fun baz(): kotlin.Unit
|
||||
test.Anno(t = {"live", "long"}) internal fun foo(): kotlin.Unit
|
||||
|
||||
Reference in New Issue
Block a user