Add feature support for "smart casts on variables in closures"

So #KT-14486 Fixed
This commit is contained in:
Mikhail Glukhikh
2017-08-10 18:28:28 +03:00
parent a086863561
commit a12877e51c
9 changed files with 29 additions and 15 deletions
@@ -9,7 +9,7 @@ fun foo(s: String?) {
}
if (x != null) {
run {
<!DEBUG_INFO_SMARTCAST!>x<!>.hashCode()
<!SMARTCAST_IMPOSSIBLE!>x<!>.hashCode()
}
}
}