Join declaration & assignment is no more suggested in case of potential smart cast available #KT-15412 Fixed

This commit is contained in:
Mikhail Glukhikh
2017-01-09 17:52:20 +03:00
parent 31a8689999
commit 7c6d5c825c
5 changed files with 49 additions and 3 deletions
@@ -0,0 +1,6 @@
// IS_APPLICABLE: true
// WITH_RUNTIME
fun foo() {
val x: String<caret>
x = System.getProperty("")
}