Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Ambiguous name issue with upcoming 0.19.1 elm version #8

Open
andys8 opened this issue Jul 16, 2019 · 0 comments
Open

Ambiguous name issue with upcoming 0.19.1 elm version #8

andys8 opened this issue Jul 16, 2019 · 0 comments

Comments

@andys8
Copy link

andys8 commented Jul 16, 2019

Hi there,

There is an issue with ambiguous names. It wasn't detected as error with Elm 0.19.0, but will likely be an error with Elm 0.19.1

-- AMBIGUOUS NAME -------------------------------------------- src/Views/App.elm

This usage of `div` is ambiguous:

31|         , div
              ^^^
This name is exposed by 2 of your imports, so I am not sure which one to use:

    Css.Global.div
    Html.Styled.div

I recommend using qualified names for imported values. I also recommend having
at most one `exposing (..)` per file to make name clashes like this less common
in the long run.

Note: Check out <https://elm-lang.org/0.19.1/imports> for more info on the
import syntax.
@andys8 andys8 changed the title Fix for upcoming 0.19.1 elm version Ambiguous name issue with upcoming 0.19.1 elm version Jul 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant