Join Slack
Powered by
In this case it seems to be type inference bug. In...
# announcements
a
altavir
03/29/2018, 6:15 PM
In this case it seems to be type inference bug. In most cases choosing the most narrow type is the way it should be, but for
null
it is not quite correct. Techincally,
null
is member of both
Any?
and
Int?
so type inference works by the book, but I think that explicitly setting value to null should be the special case.
5
Views
Open in Slack
Previous
Next