Files
kotlin-fork/idea/testData/codeInsight/outOfBlock/Comment.kt
T
2019-11-29 15:44:58 +01:00

7 lines
172 B
Kotlin
Vendored

// OUT_OF_CODE_BLOCK: FALSE
// TYPE: '//'
// ERROR: A 'return' expression required in a function with a block body ('{...}')
fun comment(): String {
<caret>return ""
}