Skip to content

Commit

Permalink
Fix deprecated __info__ function call without parens (#33)
Browse files Browse the repository at this point in the history
Elixir 1.17.0 deprecates calling functions without parens.
  • Loading branch information
sax authored Jul 25, 2024
1 parent 137ff84 commit 6664ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/memento/table/definition.ex
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ defmodule Memento.Table.Definition do
@doc "Raise error if a given module is not a valid Memento Table"
@spec validate_table!(module) :: :ok | no_return
def validate_table!(module) do
Memento.Table = module.__info__.meta
Memento.Table = module.__info__().meta
:ok
rescue
_ ->
Expand Down

0 comments on commit 6664ff9

Please sign in to comment.