Skip to content
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

Compile-time warning in Elixir 1.9 #2

Closed
ghost opened this issue Jul 25, 2019 · 2 comments
Closed

Compile-time warning in Elixir 1.9 #2

ghost opened this issue Jul 25, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Jul 25, 2019

Compiling Gollum with Elixir 1.9 shows the following warning:

warning: function init/1 required by behaviour GenServer is not implemented (in module Gollum.Cache).

We will inject a default implementation for now:

    def init(init_arg) do
      {:ok, init_arg}
    end

You can copy the implementation above or define your own that converts the arguments given to GenServer.start_link/3 to the server state.

  lib/gollum/cache.ex:1: Gollum.Cache (module)

Generated gollum app
@ravern
Copy link
Owner

ravern commented Jul 29, 2019

Fixed and published as v0.3.3.

@ravern ravern closed this as completed Jul 29, 2019
@ghost
Copy link
Author

ghost commented Jul 30, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant