You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just for clarity: what I'm trying to do is follow the UsingHelpers guide to generate code that works with published packages. I'm using code from the Gen namespace, not the code that ends up in the generated folder.
When a function uses a type alias in its annotation, the generated code will use an
Expression
rather than the actual type.That is, if I have a function
The generated code will have the type annotation:
fWithoutAlias : { a : List Int } -> Elm.Expression
but if my starting function is identical except that it uses an alias:
the generated code will have the type annotation
fWithAlias : Elm.Expression -> Elm.Expression
.I expected the generated code to be same whether or not I referenced a type alias in the function signature.
The text was updated successfully, but these errors were encountered: