Skip to content

Commit

Permalink
fix: compiler warning in compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
mhanberg committed May 13, 2024
1 parent e59901b commit 9360059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion priv/monkey/_next_ls_private_compiler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1545,7 +1545,7 @@ if Version.match?(System.version(), ">= 1.17.0-dev") do
{{{:., meta, [module, fun]}, meta, args}, state, env}
end

defp expand_local(meta, fun, args, state, env) when fun in [:for, :with] do
defp expand_local(_meta, fun, args, state, env) when fun in [:for, :with] do
{params, blocks} =
Enum.split_while(args, fn
{:<-, _, _} -> true
Expand Down

0 comments on commit 9360059

Please sign in to comment.