Make Hakuzaru Great Again #22

Merged
zxq9 merged 46 commits from parser into master 2026-05-10 15:26:44 +09:00
Showing only changes of commit 4f1958b210 - Show all commits
+1 -2
View File
@@ -732,8 +732,7 @@ coerce_map_to_record(O, N, MemberTypes, Map) ->
end. end.
coerce_record_to_map(O, N, MemberTypes, Tuple) -> coerce_record_to_map(O, N, MemberTypes, Tuple) ->
Names = [Name || {Name, _} <- MemberTypes], {Names, Types} = lists:unzip(MemberTypes),
Types = [Type || {_, Type} <- MemberTypes],
Terms = tuple_to_list(Tuple), Terms = tuple_to_list(Tuple),
% FIXME: We could go through and change the record_element paths into field % FIXME: We could go through and change the record_element paths into field
% paths? % paths?