Open williamthome opened 2 days ago
Describe the bug When starting an expression in the shell with begin and pressing the TAB key in a tuple after =, the shell crashes.
begin
TAB
=
To Reproduce By running erl and typing in the shell
erl
begin {ok, Foo} = { % TAB
It crashes with the following error
*** ERROR: Shell process terminated! *** =ERROR REPORT==== 28-Jun-2024::13:00:39.449474 === Error in process <0.71.0> with exit value: {{badmatch,[]}, [{edlin_context,over_map_record_or_tuple,1, [{file,"edlin_context.erl"},{line,391}]}, {edlin_context,over_to_opening1,2,[{file,"edlin_context.erl"},{line,339}]}, {edlin_context,over_to_opening,1,[{file,"edlin_context.erl"},{line,328}]}, {edlin_context,get_context,2,[{file,"edlin_context.erl"},{line,248}]}, {edlin_expand,expand,3,[{file,"edlin_expand.erl"},{line,165}]}, {group,get_line1,5,[{file,"group.erl"},{line,734}]}, {group,get_chars_loop,10,[{file,"group.erl"},{line,518}]}, {group,io_request,6,[{file,"group.erl"},{line,213}]}]}
Expected behavior No errors.
Affected versions I've tested only in OTP-27.
Describe the bug When starting an expression in the shell with
begin
and pressing theTAB
key in a tuple after=
, the shell crashes.To Reproduce By running
erl
and typing in the shellIt crashes with the following error
Expected behavior No errors.
Affected versions I've tested only in OTP-27.