FIR: transform implicit type ref in anonymous function arguments & body

^KT-45010 Fixed
This commit is contained in:
Jinseong Jeon
2021-02-09 23:37:29 -08:00
committed by Mikhail Glukhikh
parent a841a0bbca
commit 5f9357eb41
6 changed files with 59 additions and 1 deletions
@@ -0,0 +1,6 @@
// KT-45010
fun foo(map: MutableMap<Int, String>) {
map.getOrPut(<!TYPE_MISMATCH!>"Not an Int"<!>) {
"Hello" + " world"
}
}