Elixir and Erlang/OTP versions
Erlang/OTP 28 [erts-16.2] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit]
Elixir 1.20.0-rc.4 (603602e) (compiled with Erlang/OTP 28)
Operating system
any
Current behavior
ASCII fast path in
|
extract([Char1, Char2 | Rest], Buffer, Output, Line, Column, Scope, Interpol, Last) |
does not reject unsupported newlines
Compare that to correct code in
|
[Char | _] when ?bidi(Char); ?break(Char) -> |
Expected behavior
Unsupported newlines rejected
Elixir and Erlang/OTP versions
Erlang/OTP 28 [erts-16.2] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit]
Elixir 1.20.0-rc.4 (603602e) (compiled with Erlang/OTP 28)
Operating system
any
Current behavior
ASCII fast path in
elixir/lib/elixir/src/elixir_interpolation.erl
Line 83 in 603602e
does not reject unsupported newlines
Compare that to correct code in
elixir/lib/elixir/src/elixir_interpolation.erl
Line 92 in 603602e
Expected behavior
Unsupported newlines rejected