Join Slack
Powered by
<https://kotlinlang.slack.com/archives/general/p14...
# announcements
i
ilya.gorbunov
12/29/2015, 3:01 PM
https://kotlinlang.slack.com/archives/general/p1451400983007173
Compiler tries to infer common supertype of your reducers, one taking
(State, Int)
and other taking
(State, String)
and it appears to be
(State, Nothing)
because no type can be at the same time a
String
and an
Int
(except
Nothing
).
Open in Slack
Previous
Next