Skip to content

Commit

Permalink
Merge pull request #4252 from Agoric/update-rank-sort-order
Browse files Browse the repository at this point in the history
fix: update sort order so undefined comes last
  • Loading branch information
mergify[bot] authored Jan 8, 2022
2 parents 9e437d5 + 2d5ab57 commit 5ac65ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/store/src/patterns/rankOrder.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ const PassStyleRankAndCover = harden([
/* np */ ['bigint', ['n', 'p~']],
/* r */ ['remotable', ['r', 'r~']],
/* s */ ['string', ['s', 't']],
/* u */ ['undefined', ['u', 'v']],
/* v */ ['null', ['v', 'v~']],
/* y */ ['symbol', ['y', 'z']],
/* z */ ['null', ['z', 'z~']],
/* z */ ['undefined', ['z', '{']],
/* | remotable->ordinal mapping prefix: This is not used in covers but it is
reserved from the same set of strings. Note that the prefix is > any
prefix used by any cover so that ordinal mapping keys are always outside
Expand Down

0 comments on commit 5ac65ec

Please sign in to comment.