FIR: transform implicit type ref in anonymous function arguments & body
^KT-45010 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
a841a0bbca
commit
5f9357eb41
+6
@@ -0,0 +1,6 @@
|
||||
// KT-45010
|
||||
fun foo(map: MutableMap<Int, String>) {
|
||||
map.getOrPut(<!TYPE_MISMATCH!>"Not an Int"<!>) {
|
||||
"Hello" + " world"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user