Wojtek Mach
743e8c7ed1
Track {module, function, arity} imports and warn on unused ones
Example:
Say, there's following file:
# example.exs
import String, only: [upcase: 1, downcase: 1]
import Enum
IO.puts upcase("Hello")
Before this patch:
# $ elixir example.exs
# HELLO
# warning.exs:2: warning: unused import Enum
After this patch:
# $ elixir example.exs
# HELLO
# example.exs:1: warning: unused import String.downcase/1
# example.exs:2: warning: unused import Enum
2016-02-28 19:53:02 +01:00
..
2016-02-09 07:14:25 +07:00
2016-02-28 19:53:02 +01:00
2016-02-15 11:56:50 +01:00
2016-02-28 19:44:31 +01:00
2016-02-07 09:14:05 +01:00
2016-02-28 19:53:02 +01:00