<div dir="ltr"><div>This is the last one for now :)</div><div><br></div><div>-module(bug).</div><div>f(#{#{} := _}) -> ok.</div><div><br></div><div>$ erl</div><div>Erlang/OTP 17 [RELEASE CANDIDATE 2] [erts-6.0] [source-a74e66a] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false]</div>
<div><br></div><div>Eshell V6.0 (abort with ^G)</div><div>1> c(bug).</div><div>bug.erl: internal error in core_module;</div><div>crash reason: function_clause</div><div><br></div><div> in function core_lib:literal_value/1</div>
<div> called as core_lib:literal_value({c_map,[2,{file,"bug.erl"}],{c_literal,[],[]},[]})</div><div> in call from v3_core:'-pattern_map_pairs/2-anonymous-0-'/3 (v3_core.erl, line 1497)</div><div> in call from lists:mapfoldl/3 (lists.erl, line 1352)</div>
<div> in call from v3_core:pattern_map_pairs/2 (v3_core.erl, line 1494)</div><div> in call from v3_core:pattern/2 (v3_core.erl, line 1482)</div><div> in call from v3_core:'-pattern_list/2-lc$^0/1-0-'/2 (v3_core.erl, line 1600)</div>
<div> in call from v3_core:clause/2 (v3_core.erl, line 206)</div><div> in call from v3_core:clauses/2 (v3_core.erl, line 197)</div><div>bug.erl:2: Warning: function f/1 is unused</div><div>error</div><div><br></div><div>
/ Ulf</div><div><br></div></div>