mirror of
https://github.com/dillonkearns/elm-pages.git
synced 2024-09-11 09:05:28 +03:00
Use different type variable name to ensure type annotations are valid (seems to be an elm-codegen bug).
This commit is contained in:
parent
2ada76058e
commit
e0dde580c0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user