Files
kotlin-fork/compiler/testData/diagnostics/tests/script/LateInit.kts
T
Ilya Chernikov 47448d779c K2 Scripting: enable script diagnostic tests for FIR
also add script scopes test
2022-11-26 18:01:49 +00:00

6 lines
70 B
Kotlin
Vendored

// FIR_IDENTICAL
lateinit var s: String
fun foo() {
s = "Hello"
}