e6b5cb5216
Update includes:
- Changing syntax of `OI/`NI` tags from `<!NI;TAG!>` to `<!TAG{NI}!>`
- Fix some incorrect directives
- Change order of diagnostics in some places
- Remove ignored diagnostics from FIR test data (previously `DIAGNOSTICS` didn't work)
- Update FIR dumps in some places and add `FIR_IDENTICAL` if needed
- Replace all JAVAC_SKIP with SKIP_JAVAC directive
31 lines
1.1 KiB
Plaintext
Vendored
31 lines
1.1 KiB
Plaintext
Vendored
FILE: annotationArgumentMustBeEnumConst.kt
|
|
public final enum class TestEnum : R|kotlin/Enum<TestEnum>| {
|
|
private constructor(): R|TestEnum| {
|
|
super<R|kotlin/Enum<TestEnum>|>()
|
|
}
|
|
|
|
public final static enum entry Foo: R|TestEnum|
|
|
public final static fun values(): R|kotlin/Array<TestEnum>| {
|
|
}
|
|
|
|
public final static fun valueOf(value: R|kotlin/String|): R|TestEnum| {
|
|
}
|
|
|
|
}
|
|
public final annotation class Ann : R|kotlin/Annotation| {
|
|
public constructor(vararg a: R|kotlin/Array<out TestEnum>|): R|Ann| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final val a: R|kotlin/Array<out TestEnum>| = R|<local>/a|
|
|
public get(): R|kotlin/Array<out TestEnum>|
|
|
|
|
}
|
|
public final val foo: R|TestEnum| = Q|TestEnum|.R|/TestEnum.Foo|
|
|
public get(): R|TestEnum|
|
|
public final var bar: R|TestEnum| = Q|TestEnum|.R|/TestEnum.Foo|
|
|
public get(): R|TestEnum|
|
|
public set(value: R|TestEnum|): R|kotlin/Unit|
|
|
@R|Ann|(vararg(R|/foo|, R|/bar|)) public final fun test(): R|kotlin/Unit| {
|
|
}
|