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
moduleFooexposing (a)
importImportedexposing (Foo(..))
type alias Foo a =Imported.Foo a
a:FooInta =Debug.todo ""
Should codegen
moduleGen.Fooexposing ( moduleName_, a, values_ )
{-|# Generated bindings for Foo@docs moduleName_, a, values_-}importElmimportElm.AnnotationasType{-| The name of this module. -}moduleName_:ListStringmoduleName_ =["Foo"]{-| a: Foo.Foo Int -}a:Elm.Expressiona =Elm.value
{ importFrom =["Foo"], name ="a", annotation =Just(Type.namedWith ["Foo"]"Foo"[Type.int ])}values_: { a : Elm.Expression }
values_ ={ a =Elm.value
{ importFrom =["Foo"], name ="a", annotation =Just(Type.namedWith ["Foo"]"Foo"[Type.int ])}}
But instead it generates:
moduleGen.Fooexposing ( moduleName_, a, values_ )
{-|# Generated bindings for Foo@docs moduleName_, a, values_-}importElmimportElm.AnnotationasType{-| The name of this module. -}moduleName_:ListStringmoduleName_ =["Foo"]{-| a: Imported.Foo Int -}a:Elm.Expressiona =Elm.value
{ importFrom =["Foo"], name ="a", annotation =Just(Type.namedWith ["Imported"]"Foo"[Type.int ])}values_: { a : Elm.Expression }
values_ ={ a =Elm.value
{ importFrom =["Foo"], name ="a", annotation =Just(Type.namedWith ["Imported"]"Foo"[Type.int ])}}
The error doesn't happen if we don't import Foo from Imported
The text was updated successfully, but these errors were encountered:
Should codegen
But instead it generates:
The error doesn't happen if we don't import
Foo
fromImported
The text was updated successfully, but these errors were encountered: