Fix ConstantValue-related testData for loadJava tests
This commit is contained in:
+1
-1
@@ -7,4 +7,4 @@ annotation class Anno(val t: ElementType)
|
||||
|
||||
@Anno(ElementType.METHOD) fun foo() {}
|
||||
|
||||
@field:Anno(ElementType.FIELD) val bar = 42
|
||||
@field:Anno(ElementType.FIELD) val bar = { 42 }()
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
@field:test.Anno(t = ElementType.FIELD) public val bar: kotlin.Int = 42
|
||||
@field:test.Anno(t = ElementType.FIELD) public val bar: kotlin.Int
|
||||
public fun <get-bar>(): kotlin.Int
|
||||
@test.Anno(t = ElementType.METHOD) public fun foo(): kotlin.Unit
|
||||
|
||||
|
||||
+1
-1
@@ -7,6 +7,6 @@ annotation class Anno(vararg val t: ElementType)
|
||||
|
||||
@Anno(ElementType.METHOD, ElementType.FIELD) fun foo() {}
|
||||
|
||||
@field:Anno(ElementType.PACKAGE) val bar = 42
|
||||
@field:Anno(ElementType.PACKAGE) val bar = { 42 }()
|
||||
|
||||
@Anno() fun baz() {}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
@field:test.Anno(t = {ElementType.PACKAGE}) public val bar: kotlin.Int = 42
|
||||
@field:test.Anno(t = {ElementType.PACKAGE}) public val bar: kotlin.Int
|
||||
public fun <get-bar>(): kotlin.Int
|
||||
@test.Anno(t = {}) public fun baz(): kotlin.Unit
|
||||
@test.Anno(t = {ElementType.METHOD, ElementType.FIELD}) public fun foo(): kotlin.Unit
|
||||
|
||||
Vendored
+1
-1
@@ -5,6 +5,6 @@ annotation class Anno(vararg val t: String)
|
||||
|
||||
@Anno("live", "long") fun foo() {}
|
||||
|
||||
@field:Anno("prosper") val bar = 42
|
||||
@field:Anno("prosper") val bar = { 42 }()
|
||||
|
||||
@Anno() fun baz() {}
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
@field:test.Anno(t = {"prosper"}) public val bar: kotlin.Int = 42
|
||||
@field:test.Anno(t = {"prosper"}) public val bar: kotlin.Int
|
||||
public fun <get-bar>(): kotlin.Int
|
||||
@test.Anno(t = {}) public fun baz(): kotlin.Unit
|
||||
@test.Anno(t = {"live", "long"}) public fun foo(): kotlin.Unit
|
||||
|
||||
Reference in New Issue
Block a user