Why is can't it figure out the type? I would assum...
# announcements
k
Why is can't it figure out the type? I would assume it is quite clear, no?
It also doesn't work if it's a normal lambda instead of a extension function
g
Why do you think that information is enough? This snippet don't have any type information that may be used for type inference, maybe you have some sample, otherwise there is not enough context to understand what is going on there
k
The lambda has a return type no?
Or is it doesn't know if it is
Int
,
Any
,
Int?
or
Any?
?
Ok, It got worse
image.png
image.png
k
He's saying you're not giving us enough information.