Skip to content

Remove redundant case clause from Macro.Env.expand_require #13577

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

michallepicki
Copy link
Contributor

:elixir_dispatch.expand_require/6 does not return a {:function, receiver, name} tuple

expand_require(Required, Meta, Receiver, Name, Arity, E, Trace) ->
case is_macro(Name, Arity, Receiver, Required) of
true ->
Trace andalso elixir_env:trace({remote_macro, Meta, Receiver, Name, Arity}, E),
{macro, Receiver, expander_macro_named(Meta, Receiver, Name, Arity, E)};
false ->
error
end.

:elixir_dispatch.expand_require/6 does not return a {:function, receiver, name} tuple
@josevalim josevalim merged commit 969be34 into elixir-lang:main May 20, 2024
8 of 9 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

@michallepicki michallepicki deleted the michal/24-05-20-remove-redundant-case-clause-in-expand-require branch May 20, 2024 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants