(1.1 only) Var can be val: correct handling of delegated local variables #KT-14409 Fixed
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun foo() {
|
||||
var s: String by Delegates.notNull()
|
||||
s = ""
|
||||
}
|
||||
Reference in New Issue
Block a user