Files
Anna Kozlova 15b1e429d7 [compiler] introduce dedicated Fir declaration for dangling modifier lists (KTIJ-23008)
ensure fir annotations are included in FirDanglingModifierList and resolved,
dedicated DanglingTopLevelModifierListStructureElement exists for top
level lists only, class level lists are processed by containing structure
element
2022-12-21 20:58:46 +00:00

10 lines
165 B
Kotlin
Vendored

// COMPILATION_ERRORS
annotation class Ann0
interface I
class Foo {
fun foo() {
val i = object : I {
@<caret>Ann0 @Suppress
}
}
}