Skip to content

Commit

Permalink
Update lib/kino/rpc.ex
Browse files Browse the repository at this point in the history
Co-authored-by: José Valim <[email protected]>
  • Loading branch information
jonatanklosko and josevalim authored Nov 8, 2023
1 parent a14e881 commit cb947ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kino/rpc.ex
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ defmodule Kino.RPC do
# edge cases, such as calling `binding()`, but these are even
# more unlikely.

names = for {name, nil} <- Macro.Env.vars(env), into: %{}, do: {name, nil}
names = Map.new(Macro.Env.vars(env))

ast
|> Macro.prewalk(MapSet.new(), fn
Expand Down

0 comments on commit cb947ae

Please sign in to comment.