Files
kotlin-fork/idea/testData/inspectionsLocal/removeCurlyBracesFromTemplate/unnecessaryBrackets3.kt
T
Dmitry Gridin fda5692fc6 RemoveCurlyBracesFromTemplateInspection: add heuristic to change severity
Change severity to INFORMATION if a variable hasn't whitespace around & add an option to return the old behavior
 #KT-31717 Fixed
2019-07-10 10:28:45 +03:00

6 lines
82 B
Kotlin
Vendored

// HIGHLIGHT: INFORMATION
fun foo() {
val x = 4
val y = "$<caret>{x}\n"
}