Files
kotlin-fork/idea/testData/inspectionsLocal/removeCurlyBracesFromTemplate/unnecessaryBrackets1.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
93 B
Kotlin
Vendored

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