Files
kotlin-fork/idea/testData/inspectionsLocal/removeCurlyBracesFromTemplate/unnecessaryBrackets7.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

5 lines
101 B
Kotlin
Vendored

// HIGHLIGHT: GENERIC_ERROR_OR_WARNING
fun foo(`object`: Any) {
val bar = "$<caret>{`object`}"
}