You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test"anoymous function arity error"dof=fna->aendf.(1)assert_raise(BadArityError,fn->f.(1,2)end)g=fnx,y->x+yendf=fna->g.(a,0)endf.(1)# this assertion failedassert_raise(BadArityError,fn->f.(1,2)end)end
Expected behavior
no incorrect arity
The text was updated successfully, but these errors were encountered:
Elixir and Erlang/OTP versions
Erlang/OTP 26 [erts-14.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit]
Elixir 1.16.2 (compiled with Erlang/OTP 26)
Operating system
MacOS
Current behavior
Expected behavior
no incorrect arity
The text was updated successfully, but these errors were encountered: