KT-32368 Rework Inline hints settings // migrate tests for lambdas

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.
This commit is contained in:
Andrei Klunnyi
2020-07-07 15:49:07 +02:00
parent 5fe1eaea17
commit b0dece756a
23 changed files with 288 additions and 438 deletions
+12
View File
@@ -0,0 +1,12 @@
// MODE: return
val x = run hello@{
if (true) {
}
run { // Two hints here
when (true) {
true -> 1<# ^run #>
false -> 0<# ^run #>
}
}<# ^hello #>
}