summaryrefslogtreecommitdiff
path: root/plugins/kotlin/idea/tests/testData/quickfix/yieldUnsupported/yieldBeforeLambda.kt
blob: fb4ef9eff8ff8a4368364f6adf60b26b0da25bee (plain)
1
2
3
4
5
6
7
8
// "Migrate unsupported yield syntax" "true"
object yield {
    operator fun invoke(f: () -> Unit) = f()
}

fun test() {
    yie<caret>ld {  }
}