Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/diagnostics/superIsNotAnExpression.kt
T
2021-02-19 18:24:49 +03:00

14 lines
289 B
Kotlin
Vendored

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<!>(<!ILLEGAL_CONST_EXPRESSION!>'weird'<!>)
}
}
}