elm-lang / elm-package

Command line tool to share Elm libraries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When two packages use the same Module.Name, neither can be used.

sgillis opened this issue · comments

Installing libraries that expose modules with the same name results in problems. For example, mdgriffith/elm-style-animation and mgold/elm-animation both expose Animation. When trying to compile, I get this error:

I found multiple modules named 'Animation'.

Module '<mymodule>' is trying to import it.

Modules with that name were found in the following locations:

    package mdgriffith/elm-style-animation
    package mgold/elm-animation

It seems that this could become a bigger problem when the number of packages grows.

I am using Elm 0.18

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

Tracking in elm/compiler#1625 meta issue. Thanks for the report!