-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
defmemo/defmemop suppresses compiler warnings #4
Comments
I think Memoize uses |
not use |
I just ran into a problem that I suspect is related, so I'll report it here: Elixir warns about unused imports for functions only called from inside a defmodule Five do
def five() do
5
end
end
defmodule Eleven do
use Memoize
import Five, only: [five: 0]
defmemo eleven() do
6 + five()
end
end yields a Unfortunately, I also don't know how to fix it :) Thanks for an excellent library by the way. I really like how well |
example (Memoize 1.3.0) suppresses obvious compiler warnings
The text was updated successfully, but these errors were encountered: