-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
module File1 exposing (CustomType)
type CustomType
= Foo
| Barmodule File2 exposing (usage)
import File1 exposing (CustomType(..))
usage =
FooThis will currently get you:
-- NAMING ERROR -------------------------------------------------- src/File2.elm
I cannot find a `Foo` variant:
7| Foo
^^^
These names seem close though:
Ok
EQ
Err
GT
Hint: Read <https://elm-lang.org/0.19.1/imports> to see how `import`
declarations work in Elm.
while it could give you something like
-- IMPORT ERROR -------------------------------------------------- src/File2.elm
You're trying to import the constructors of the `CustomType` type:
3| import File1 exposing (CustomType(..))
^^^^
The module File1 doesn't expose them though.
r-k-b, basile-henry, blaix, Aleksander-Ortynski, tankorsmash and 1 more
Metadata
Metadata
Assignees
Labels
No labels