Elixir and Erlang/OTP versions
Erlang/OTP 28 [erts-16.1] [source] [64-bit] [smp:14:14] [ds:14:14:10] [async-threads:1] [jit]
Elixir 1.19.1 (compiled with Erlang/OTP 28)
(also tried 1.20.0-rc.2)
Operating system
Mac OS
Current behavior
test "problem" do
assert %{a: <<"test", _::binary>>, b: 2} = %{a: "test3", b: 3}
end
test "fine" do
assert %{a: "test" <> _, b: 2} = %{a: "test3", b: 3}
end
yields the following
Expected behavior
The binary pattern not highlighted in both cases
Elixir and Erlang/OTP versions
Erlang/OTP 28 [erts-16.1] [source] [64-bit] [smp:14:14] [ds:14:14:10] [async-threads:1] [jit]
Elixir 1.19.1 (compiled with Erlang/OTP 28)
(also tried 1.20.0-rc.2)
Operating system
Mac OS
Current behavior
yields the following
Expected behavior
The binary pattern not highlighted in both cases