jfmengels / elm-review

Analyzes Elm projects, to help find mistakes before your users find them.
https://package.elm-lang.org/packages/jfmengels/elm-review/latest/
Other
252 stars 13 forks source link

Fix module name lookup table giving a wrong result #171

Closed jfmengels closed 5 months ago

jfmengels commented 5 months ago

Let destructuring variables that shadowed imports were not correctly registered, and looking them up could lead to incorrectly point to the imported module that was shadowed.

Thanks @matzko for discovering this in https://github.com/jfmengels/elm-review-unused/pull/91.