FIR2IR: enhance approximation of captured types

This commit is contained in:
Mikhail Glukhikh
2021-02-10 18:59:50 +03:00
parent 346ffb3acf
commit 4bc630d82c
3 changed files with 11 additions and 7 deletions
@@ -2,13 +2,13 @@ fun test(a: SomeJavaClass<out String>) {
a.someFunction(hello = local fun <anonymous>(it: String?) {
return Unit
}
/*-> Hello<Any?>? */)
/*-> Hello<String>? */)
a.plus(hello = local fun <anonymous>(it: String?) {
return Unit
}
/*-> Hello<Any?>? */)
/*-> Hello<String>? */)
a.get(hello = local fun <anonymous>(it: String?) {
return Unit
}
/*-> Hello<Any?>? */)
/*-> Hello<String>? */)
}