Fix wrong index preparation in mrdb:index_read_/3 #1

Merged
uwiger merged 4 commits from uw-catchup into master 2024-08-14 18:24:18 +09:00
Showing only changes of commit d6b86524fd - Show all commits

View File

@ -938,7 +938,7 @@ index_read_(#{name := Main, semantics := Sem} = Ref, Val, Ix) ->
_ when is_atom(Ix) -> _ when is_atom(Ix) ->
{attr_pos(Ix, Ref), ordered}; {attr_pos(Ix, Ref), ordered};
{_} -> {_} ->
Ix; {Ix, ordered};
_ when is_integer(Ix) -> _ when is_integer(Ix) ->
{Ix, ordered} {Ix, ordered}
end, end,