And another: ``` fun getResult(value: Any?) { ...
# announcements
r
And another:
Copy code
fun getResult(value: Any?) {
    val result = (value as? Map<*, *>)?.get("result")
    ....
}
The
get
call is marked as an error due to
Type inference failed. The value of the type parameter K should be mentioned in input types (argument types, receiver type or expected type). Try to specify it
But again it compiles and runs fine
g
I had similar problems. I found the option disable new inference in intelliJ.
a
Can you please report these bugs to http://kotl.in/issue? Thanks!