<div dir="ltr"><div>-module(bug).</div><div>f(M, X) -> M#{a := ok, b => {X}}.</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>Function: f/2</div><div>bug.erl: internal error in v3_life;</div><div>crash reason: {case_clause,</div><div> {'EXIT',</div><div>
{function_clause,</div><div> [{v3_life,vdb_store_new,</div><div> [ker0,4,4,[{ker0,2,3},{ker1,3,3}]],</div><div> [{file,"v3_life.erl"},{line,501}]},</div><div> {v3_life,vdb_store_new,4,[{file,"v3_life.erl"},{line,502}]},</div>
<div> {v3_life,vdb_store_new,4,[{file,"v3_life.erl"},{line,502}]},</div><div> {lists,foldl,3,[{file,"lists.erl"},{line,1261}]},</div><div> {v3_life,body,3,[{file,"v3_life.erl"},{line,442}]},</div>
<div> {v3_life,body,3,[{file,"v3_life.erl"},{line,98}]},</div><div> {v3_life,match,5,[{file,"v3_life.erl"},{line,280}]},</div><div> {v3_life,expr,3,[{file,"v3_life.erl"},{line,133}]}]}}}</div>
<div><br></div><div> in function io_lib_pretty:cind_tag_tuple/7 (io_lib_pretty.erl, line 638)</div><div> in call from io_lib_pretty:cind_element/7 (io_lib_pretty.erl, line 727)</div><div> in call from io_lib_pretty:cind_list/7 (io_lib_pretty.erl, line 697)</div>
<div> in call from io_lib_pretty:cind_element/7 (io_lib_pretty.erl, line 727)</div><div> in call from io_lib_pretty:cind_list/7 (io_lib_pretty.erl, line 697)</div><div> in call from io_lib_pretty:cind_element/7 (io_lib_pretty.erl, line 727)</div>
<div> in call from io_lib_pretty:cind_list/7 (io_lib_pretty.erl, line 697)</div><div> in call from io_lib_pretty:cind_element/7 (io_lib_pretty.erl, line 727)</div><div>bug.erl:2: Warning: function f/2 is unused</div><div>
error</div><div><br></div><div>/ Ulf</div><div><br></div></div>