ReplaceToStringWithStringTemplateInspection: insert curly braces if needed
#KT-36735 Fixed
This commit is contained in:
committed by
Vladimir Dolzhenko
parent
c87bc2123c
commit
ef1e54eda9
+3
@@ -0,0 +1,3 @@
|
||||
data class Num(val x: Int)
|
||||
|
||||
fun demo(x: Int) = Num(x).toString()<caret>
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
data class Num(val x: Int)
|
||||
|
||||
fun demo(x: Int) = "${Num(x)}"
|
||||
Reference in New Issue
Block a user