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
49 lines
702 B
Kotlin
Vendored
49 lines
702 B
Kotlin
Vendored
// !RENDER_DIAGNOSTICS_MESSAGES
|
|
|
|
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.TYPE, AnnotationTarget.CLASS, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.PROPERTY)
|
|
annotation class An
|
|
|
|
@An
|
|
interface A {
|
|
@An
|
|
fun a(@An arg: @An Int)
|
|
}
|
|
|
|
@An
|
|
interface B {
|
|
@An
|
|
fun <T> a(@An arg: @An Int)
|
|
}
|
|
|
|
interface C : A, B
|
|
|
|
@An
|
|
abstract class D {
|
|
@An
|
|
abstract val d: @An Int
|
|
}
|
|
|
|
class E : D(), A
|
|
class F : A
|
|
|
|
@An
|
|
interface G {
|
|
@An
|
|
fun a(@An arg: @An Int)
|
|
}
|
|
|
|
@An
|
|
interface AI : A {
|
|
@An
|
|
override fun a(@An arg: @An Int) {}
|
|
}
|
|
|
|
@An
|
|
interface GI : G {
|
|
@An
|
|
override fun a(@An arg: @An Int) {}
|
|
}
|
|
|
|
class AG1(val a: A, val g: G) : A by a, G by g
|
|
class AG2() : AI, GI
|