Files
kotlin-fork/compiler/testData/loadJava/compiledJava/annotations/StringConstantInParam.fir.txt
T
Ivan Kochurkin 498f2e534a [FIR] Don't enhance Int and String Java final static fields
It's effectively a breaking change (^KT-62558)

K2 assigns flexible type to all static fields (from Java) and, for example,
`String? becomes String unlike K1. It affects IR signature generating.
That's why signature dump is disabled for some tests.

^KT-57811 Fixed
^KT-61786 Fixed
2023-10-16 17:16:56 +00:00

13 lines
473 B
Plaintext
Vendored

public abstract interface StringConstantInParam : R|kotlin/Any| {
public final static field HEL: R|kotlin/String!| = String(hel)
public final annotation class Anno : R|kotlin/Annotation| {
public constructor(value: R|kotlin/String|): R|test/StringConstantInParam.Anno|
}
@R|test/StringConstantInParam.Anno|(value = String(hello)) public open class Class : R|kotlin/Any| {
public constructor(): R|test/StringConstantInParam.Class|
}
}