Single-expression string template is inspection for strings and intention otherwise #KT-13113 Fixed
(cherry picked from commit 266f9d0)
This commit is contained in:
committed by
Mikhail Glukhikh
parent
9b8c55d823
commit
d868410093
@@ -0,0 +1,6 @@
|
||||
// NO
|
||||
val x = "Hello"
|
||||
// YES
|
||||
val y = "$x"
|
||||
// NO
|
||||
val z = "${y.hashCode()}"
|
||||
Reference in New Issue
Block a user