47448d779c
also add script scopes test
12 lines
130 B
Kotlin
Vendored
12 lines
130 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// !DIAGNOSTICS: -UNUSED_VARIABLE
|
|
|
|
var b = true
|
|
|
|
if (b) {
|
|
val x = 3
|
|
}
|
|
|
|
val y = <!UNRESOLVED_REFERENCE!>x<!>
|
|
|