Provide parent reference for temporary variables immediately

This commit is contained in:
Dmitry Petrov
2018-12-20 12:34:05 +03:00
parent 4e53e7d663
commit 57c12476d7
9 changed files with 191 additions and 8 deletions
@@ -0,0 +1,6 @@
class C(x: Any?) {
val s: String?
init {
s = x?.toString()
}
}