Files
kotlin-fork/compiler/testData/diagnostics/tests/kt55733.kt
T
Nikolay Lunyak 0e1350f464 [FIR] Ensure NO_COMPANION_OBJECT is reported for typealiases
^KT-55733 Fixed
^KT-55186 Fixed
2023-01-12 13:51:11 +00:00

8 lines
223 B
Kotlin
Vendored

// FIR_IDENTICAL
fun main() {
val appendable = <!NO_COMPANION_OBJECT!>Appendable<!>
val stringBuilder = <!NO_COMPANION_OBJECT!>StringBuilder<!>
val exception = <!NO_COMPANION_OBJECT!>IllegalStateException<!>
}