{"action":"created","issue":{"url":"https://api.github.com/repos/elm-lang/elm-make/issues/137","repository_url":"https://api.github.com/repos/elm-lang/elm-make","labels_url":"https://api.github.com/repos/elm-lang/elm-make/issues/137/labels{/name}","comments_url":"https://api.github.com/repos/elm-lang/elm-make/issues/137/comments","events_url":"https://api.github.com/repos/elm-lang/elm-make/issues/137/events","html_url":"https://github.com/elm-lang/elm-make/issues/137","id":192578455,"number":137,"title":"No \"unused function\" warnings","user":{"login":"zaboco","id":983819,"avatar_url":"https://avatars.githubusercontent.com/u/983819?v=3","gravatar_id":"","url":"https://api.github.com/users/zaboco","html_url":"https://github.com/zaboco","followers_url":"https://api.github.com/users/zaboco/followers","following_url":"https://api.github.com/users/zaboco/following{/other_user}","gists_url":"https://api.github.com/users/zaboco/gists{/gist_id}","starred_url":"https://api.github.com/users/zaboco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaboco/subscriptions","organizations_url":"https://api.github.com/users/zaboco/orgs","repos_url":"https://api.github.com/users/zaboco/repos","events_url":"https://api.github.com/users/zaboco/events{/privacy}","received_events_url":"https://api.github.com/users/zaboco/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-30T14:24:41Z","updated_at":"2016-12-22T05:49:50Z","closed_at":"2016-12-22T05:49:50Z","body":"Given I have a file which has a function that is not (1) exposed or (2) used internally, I would expect that `elm-make --warn` prints some warnings about that. Instead, it just compiles as normally.\r\n\r\n```elm\r\nmodule Main exposing (main)\r\n\r\nimport Html exposing (Html, text)\r\n\r\n\r\nmain : Html msg\r\nmain =\r\n    text \"Hello World!\"\r\n\r\n\r\nunused : ()\r\nunused =\r\n    ()\r\n```\r\n\r\nUsing `elm-make 0.18`"},"comment":{"url":"https://api.github.com/repos/elm-lang/elm-make/issues/comments/268724335","html_url":"https://github.com/elm-lang/elm-make/issues/137#issuecomment-268724335","issue_url":"https://api.github.com/repos/elm-lang/elm-make/issues/137","id":268724335,"user":{"login":"evancz","id":1658058,"avatar_url":"https://avatars.githubusercontent.com/u/1658058?v=3","gravatar_id":"","url":"https://api.github.com/users/evancz","html_url":"https://github.com/evancz","followers_url":"https://api.github.com/users/evancz/followers","following_url":"https://api.github.com/users/evancz/following{/other_user}","gists_url":"https://api.github.com/users/evancz/gists{/gist_id}","starred_url":"https://api.github.com/users/evancz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evancz/subscriptions","organizations_url":"https://api.github.com/users/evancz/orgs","repos_url":"https://api.github.com/users/evancz/repos","events_url":"https://api.github.com/users/evancz/events{/privacy}","received_events_url":"https://api.github.com/users/evancz/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T05:49:50Z","updated_at":"2016-12-22T05:49:50Z","body":"Tracking in https://github.com/elm-lang/elm-make/issues/98, thanks for the suggestion!"}}
{"actor":{"display_login":"evancz"}}