Files
kotlin-fork/idea/testData/inspectionsLocal/redundantSemicolon/beforeAnnotationAndLambda.kt
T
2018-03-23 09:35:34 +03:00

11 lines
207 B
Kotlin
Vendored

// PROBLEM: none
fun test() {
foo()<caret>;
@Ann("")
{ i: Int -> }.doIt()
}
fun foo() {}
fun ((Int) -> Unit).doIt() {}
@Target(AnnotationTarget.EXPRESSION)
annotation class Ann(val bar: String)