Files
kotlin-fork/compiler/testData/diagnostics/tests/thisAndSuper/superInExtensionFunctionCall.kt
T
Alexander Udalov 34267e436e Merge two deprecation diagnostics into one DEPRECATION
This also fixes weird suppressions in user code: instead of
«@Suppress("DEPRECATED_SYMBOL_WITH_MESSAGE")» you should now use
«@Suppress("DEPRECATION")»
2015-10-13 01:44:45 +03:00

7 lines
184 B
Kotlin
Vendored

// No supertype at all
class A1 {
fun test() {
<!SUPER_CANT_BE_EXTENSION_RECEIVER!>super<!>.<!DEPRECATION!>identityEquals<!>(null) // Call to an extension function
}
}