Files
kotlin-fork/idea/testData/inspectionsLocal/useExpressionBody/leftBrace.kt.after
T
Mikhail Glukhikh e10fa218f5 Extend range of "use expression body" to left brace..end of return
Range is extended iff we are in DO_NOT_SHOW case,
otherwise just return is highlighted to avoid ugly highlighting
So #KT-19771 Fixed
2017-12-28 20:31:41 +03:00

5 lines
115 B
Plaintext
Vendored

// HIGHLIGHT: INFORMATION
// PROBLEM: Use expression body instead of return
fun simple(): Int = 1 *
(2 + 3)