Files
kotlin-fork/idea/testData/codeInsight/outOfBlock/InFunObjectLiteral.kt
T
2019-11-27 13:43:10 +01:00

12 lines
185 B
Kotlin
Vendored

// OUT_OF_CODE_BLOCK: FALSE
// ERROR: A type annotation is required on a value parameter
interface Some
fun test() {
object : Some {
fun test(<caret>) {
}
}
}