You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix nondeterministic private field ordering in Lifter
The private fields generated by the lifter had nondeterministic ordering
because they were built by iterating over Map values derived from Set
operations. Scala's Set and Map do not guarantee stable iteration order.
The fix uses sorted ordered lists (passedSymsOrdered, capturesOrdered,
passedDefnsOrdered, and new liftedObjsOrdered) to look up map values in
a deterministic order based on symbol UIDs, instead of iterating map
values directly.
Agent-Logs-Url: https://github.com/LPTK/mlscript/sessions/07ac81ed-dfff-467c-af13-4a25818d2faa
0 commit comments