mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-04 18:54:33 +08:00
Fix Erlang module definition breaking subsequent Elixir module definitions
This commit is contained in:
parent
025b92d4a0
commit
172f5d8dd9
1 changed files with 1 additions and 2 deletions
|
@ -752,8 +752,7 @@ defmodule Livebook.Runtime.Evaluator do
|
|||
:code.load_binary(module, String.to_charlist(file), binary)
|
||||
|
||||
# Registration of module
|
||||
env = %{env | module: module, versioned_vars: %{}}
|
||||
Evaluator.Tracer.trace({:on_module, binary, %{}}, env)
|
||||
Evaluator.Tracer.trace({:on_module, binary, %{}}, %{env | module: module, versioned_vars: %{}})
|
||||
|
||||
{{:ok, {:ok, module}, binding, env}, []}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue