Files
kotlin-fork/idea/testData/codeInsight/outOfBlock/Comment.kt
T
Vladimir Dolzhenko f709377735 Support incremental analysis of comment and kdoc
#KT-35189 Fixed
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 ""
}