b0dece756a
KotlinLambdasHintsProvider which in now responsible for lambda related hints is not compatible with the existing LambdaReturnValueHintsTest. Because of that tests were migrated to the new infrastructure.
12 lines
203 B
Kotlin
Vendored
12 lines
203 B
Kotlin
Vendored
// MODE: return
|
|
val x = run hello@{
|
|
if (true) {
|
|
}
|
|
|
|
run { // Two hints here
|
|
when (true) {
|
|
true -> 1<# ^run #>
|
|
false -> 0<# ^run #>
|
|
}
|
|
}<# ^hello #>
|
|
} |