Use different type variable name to ensure type annotations are valid (seems to be an elm-codegen bug).

This commit is contained in:
Dillon Kearns 2024-01-08 18:38:02 -08:00
parent 2ada76058e
commit e0dde580c0

View File

@ -166,7 +166,7 @@ file templates basePath =
, Elm.Annotation.function
[ Elm.Annotation.list (Elm.Annotation.namedWith [ "Html" ] "Attribute" [ Elm.Annotation.var "msg" ])
]
(Elm.Annotation.var "a")
(Elm.Annotation.var "abc")
|> Just
)
( "route", Just (Elm.Annotation.named [] "Route") )
@ -179,7 +179,7 @@ file templates basePath =
]
]
|> Elm.withType
(Elm.Annotation.var "a")
(Elm.Annotation.var "abc")
)
link : Elm.Declaration