Guys, how should i work with something initialized...
# announcements
a
Guys, how should i work with something initialized in
synchronized
section?
Copy code
fun some() {
        val state: Int
        synchronized(this) {
            state = this.state
        }
        print(state)
}
Does no let me assign to
val