elm-lang / elm-make

A build tool for Elm projects
BSD 3-Clause "New" or "Revised" License
175 stars 45 forks source link

--warn should warn about unused functions exposed from import #158

Closed ahstro closed 6 years ago

ahstro commented 7 years ago

Here, div is exposed from Html but never used. --warn should complain, similarly as it would if importing an unused module.

module Main exposing (..)

import Html exposing (div, text)

main : Html.Html msg
main =
    text "foobar"

Similar to #137

Edit: This regards version 0.18.0 of elm-make

process-bot commented 7 years ago

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.

evancz commented 6 years ago

Tracking in #98. Thank you for the suggestion!