Elixir and Erlang/OTP versions
Erlang/OTP 28 [erts-16.1.1] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit:ns]
Elixir 1.19.4 (compiled with Erlang/OTP 26)
Operating system
linux
Current behavior
iex(1)> [
...(1)> #iex:break
...(1)>
...(1)>
break does not stop collecting input. the same thing happens with quotes and curly braces.
Expected behavior
iex(1)> [
...(1)> #iex:break
** (TokenMissingError) token missing on iex:1:
error: incomplete expression
└─ iex:1
(iex 1.18.4) lib/iex/evaluator.ex:299: IEx.Evaluator.parse_eval_inspect/4
(iex 1.18.4) lib/iex/evaluator.ex:189: IEx.Evaluator.loop/1
(iex 1.18.4) lib/iex/evaluator.ex:34: IEx.Evaluator.init/5
(stdlib 7.1) proc_lib.erl:333: :proc_lib.init_p_do_apply/3
iex(1)>
break stops collecting input. This is the behavior in 1.18.4
Elixir and Erlang/OTP versions
Erlang/OTP 28 [erts-16.1.1] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit:ns]
Elixir 1.19.4 (compiled with Erlang/OTP 26)
Operating system
linux
Current behavior
iex(1)> [
...(1)> #iex:break
...(1)>
...(1)>
break does not stop collecting input. the same thing happens with quotes and curly braces.
Expected behavior
iex(1)> [
...(1)> #iex:break
** (TokenMissingError) token missing on iex:1:
error: incomplete expression
└─ iex:1
(iex 1.18.4) lib/iex/evaluator.ex:299: IEx.Evaluator.parse_eval_inspect/4
(iex 1.18.4) lib/iex/evaluator.ex:189: IEx.Evaluator.loop/1
(iex 1.18.4) lib/iex/evaluator.ex:34: IEx.Evaluator.init/5
(stdlib 7.1) proc_lib.erl:333: :proc_lib.init_p_do_apply/3
iex(1)>
break stops collecting input. This is the behavior in 1.18.4