Single-expression string template is inspection for strings and intention otherwise #KT-13113 Fixed

(cherry picked from commit 266f9d0)
This commit is contained in:
Mikhail Glukhikh
2016-08-02 12:41:43 +03:00
committed by Mikhail Glukhikh
parent 9b8c55d823
commit d868410093
5 changed files with 31 additions and 2 deletions
@@ -0,0 +1,6 @@
// NO
val x = "Hello"
// YES
val y = "$x"
// NO
val z = "${y.hashCode()}"