Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/diagnostics/superIsNotAnExpression.kt
T
2021-05-13 16:13:43 +03:00

14 lines
310 B
Kotlin
Vendored

open class A
class B: A() {
fun act() {
<!SUPER_IS_NOT_AN_EXPRESSION!>super<!>()
<!UNRESOLVED_REFERENCE!>invoke<!>()
<!SUPER_IS_NOT_AN_EXPRESSION!>super<!> {
<!UNRESOLVED_REFERENCE!>println<!>(<!TOO_MANY_CHARACTERS_IN_CHARACTER_LITERAL!>'weird'<!>)
}
}
}