Skip to content

Commit 030a5d0

Browse files
Fix define_alias spec (#13436)
1 parent 0d4051b commit 030a5d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/macro/env.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ defmodule Macro.Env do
367367
368368
"""
369369
@doc since: "1.17.0"
370-
@spec define_alias(t, Macro.metadata(), module, atom) :: t
370+
@spec define_alias(t, Macro.metadata(), module, keyword) :: {:ok, t} | {:error, String.t()}
371371
def define_alias(env, meta, module, opts \\ [])
372372
when is_list(meta) and is_atom(module) and is_list(opts) do
373373
{trace, opts} = Keyword.pop(opts, :trace, true)

0 commit comments

Comments
 (0)