unicode.collation: Fixes 40k+ unit tests, but is a change from Unicode 9.0 to 10.0

It looks like the fourth weights in the collation algorithm now generate fewer 0xffff, particularly when the secondary and tertiary slots are zero.
modern-harvey2
Doug Coleman 2017-09-24 19:26:02 -05:00
parent 341f2c3307
commit f7ddfb44b7
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ ducet get-global insert-helpers
[ [ primary>> ] append-weights { 0 } ] [ [ primary>> ] append-weights { 0 } ]
[ [ secondary>> ] append-weights { 0 } ] [ [ secondary>> ] append-weights { 0 } ]
[ [ tertiary>> ] append-weights { 0 } ] [ [ tertiary>> ] append-weights { 0 } ]
[ [ variable-weight ] map ] [ [ [ secondary>> ] [ tertiary>> ] bi [ zero? ] bi@ and not ] filter [ variable-weight ] map ]
} cleave } cleave
] { } append-outputs-as ; ] { } append-outputs-as ;