Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/diagnostics/superIsNotAnExpression.kt
T
2020-03-27 16:46:59 +03:00

14 lines
262 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<!> {
println(<!ILLEGAL_CONST_EXPRESSION!>'weird'<!>)
}
}
}