PSI2IR KT-47939 more tests

This commit is contained in:
Dmitry Petrov
2021-12-01 09:12:53 +03:00
committed by TeamCityServer
parent 9eeb8f54fb
commit 72f7276f3c
7 changed files with 45 additions and 0 deletions
@@ -86,3 +86,13 @@ fun test3a(): Function1<Function1<String, Unit>, KConsumer<String>> {
}
}
fun test3b(): KFunction<KConsumer<String>> {
return { // BLOCK
local fun KConsumer(function: Function1<@ParameterName(name = "x") String, Unit>): KConsumer<String> {
return function /*-> KConsumer<String> */
}
::KConsumer
}
}