Files
kotlin-fork/compiler/testData/diagnostics/tests/delegation/kt48546.fir.kt
T
2023-02-17 11:26:18 +00:00

10 lines
200 B
Kotlin
Vendored

// WITH_STDLIB
object DelegateTest {
var result = ""
val f by lazy {
result += <!TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM!>f<!>.toString() // Compiler crash
"hello"
}
}