Skip to content

Commit 2ccad21

Browse files
committed
Fix warnings under Elixir v1.17
1 parent ca0f4bd commit 2ccad21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rdf/xml/decoder/grammar/rule.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ defmodule RDF.XML.Decoder.Grammar.Rule do
6464
cxt
6565
# Note that the new_element becomes only part of the new cxt on ElementRules (:element is not a member of the non-ElementRule-structs)
6666
|> next_rule.new(element: new_element)
67-
|> next_rule.type.apply(new_element, graph, bnodes)
67+
|> next_rule.type().apply(new_element, graph, bnodes)
6868
end
6969

7070
def end_element(%rule{} = cxt, name, graph, bnodes, element_deleted \\ false) do
@@ -211,7 +211,7 @@ defmodule RDF.XML.Decoder.Grammar.Rule do
211211
end
212212

213213
@impl true
214-
def select_production(cxt, _), do: cxt.production
214+
def select_production(cxt, _), do: cxt.production()
215215

216216
defoverridable unquote(__MODULE__)
217217

0 commit comments

Comments
 (0)