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:
@@ -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 #>
|
||||
}
|
||||
Reference in New Issue
Block a user