Merge lima into master #674

Merged
zxq9 merged 39 commits from lima into master 2019-11-25 21:16:18 +09:00
Showing only changes of commit bd64260e37 - Show all commits

View File

@ -1178,7 +1178,6 @@ r_single_successful_branch({switch, R, Type, Alts, Def}, Code) ->
case push_code_out_of_switch([Def | Alts]) of case push_code_out_of_switch([Def | Alts]) of
{_, none} -> false; {_, none} -> false;
{_, many} -> false; {_, many} -> false;
{_, []} -> false;
{_, [{i, _, switch_body}]} -> false; {_, [{i, _, switch_body}]} -> false;
{[Def1 | Alts1], PushedOut} -> {[Def1 | Alts1], PushedOut} ->
{[{switch, R, Type, Alts1, Def1} | PushedOut], Code} {[{switch, R, Type, Alts1, Def1} | PushedOut], Code}