Skip to content

Commit f793278

Browse files
committed
use Code.eval_quoted for fasten hook
1 parent 0ad40ad commit f793278

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/construct/hooks/fasten.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ defmodule Construct.Hooks.Fasten do
22
defmacro __using__(_opts \\ []) do
33
quote do
44
structure_compile_hook :post do
5-
Module.eval_quoted(__MODULE__, Construct.Hooks.Fasten.__compile__(__MODULE__, Enum.reverse(@fields)))
5+
Code.eval_quoted(Construct.Hooks.Fasten.__compile__(__MODULE__, Enum.reverse(@fields)), [], __ENV__)
66

77
defoverridable make: 2
88
end

0 commit comments

Comments
 (0)