Open miniBill opened 3 years ago
@jmbockhorst can this be closed?
No, I had to "unfix" this. The type inference is technically correct in this case, but it can maybe be rendered different because of the aliases. It's not a simple solution without adding more to the inference algorithm.
Consider these two modules:
and
notice how
Main
does not importHtml
.Expected Behavior
The type of
world
is inferred to beHtml msg
.Current Behavior
The type of
world
is inferred to beLanguage -> Html msg
.Context
I'm wrapping
elm-ui
to add translations.