Skip to content

Commit ebd5ba6

Browse files
zachdanielmhanberg
authored andcommitted
fix: match error case from Macro.Env.expand_import/5 (#45)
1 parent 2f6a946 commit ebd5ba6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/spitfire/env.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,9 @@ defmodule Spitfire.Env do
318318

319319
:error ->
320320
expand_local(meta, fun, args, state, env)
321+
322+
{:error, :not_found} ->
323+
expand_local(meta, fun, args, state, env)
321324
end
322325
end
323326

0 commit comments

Comments
 (0)