Yea thats IDEA tells me also but it doesnt work in...
# getting-started
s
Yea thats IDEA tells me also but it doesnt work in this case:
Copy code
val foo: String
run {
    foo = ""
}
println(foo)