text-icu
text-icu copied to clipboard
t_blockCode test failure again with ICU 74
This is a reprise of
- #94
Happens on macOS with ICU 74: https://github.com/haskell/text-icu/actions/runs/8943327460/job/24567789387#step:12:636
t_blockCode: [Failed]
*** Failed! (after 25 tests):
Exception:
toEnum{BlockCode}: tag (328) is outside of enumeration's range (0,327)
CallStack (from HasCallStack):
error, called at Data/Text/ICU/Char.hsc:495:17 in text-icu-0.8.0.5-FtrCGOmY2PD7vvbWpyQUDD:Data.Text.ICU.Char
'\191897'
Update: also fails on Windows with ICU 74.2: https://github.com/haskell/text-icu/actions/runs/8943757763/job/24569171067#step:11:26
*** Failed! (after 13 tests):
Exception:
toEnum{BlockCode}: tag (328) is outside of enumeration's range (0,327)
CallStack (from HasCallStack):
error, called at Data\Text\ICU\Char.hsc:495:17 in text-icu-0.8.0.5-inplace:Data.Text.ICU.Char
'\191528'
I'm afraid I don't have capacity to fix it now. But I would gladly accept a PR and publish a new text-icu version on Hackage. PR should be similar to the changes in #94.
Another instance (Windows): https://github.com/haskell/text-icu/actions/runs/9086457145/job/24972179956#step:11:26
*** Failed! (after 39 tests):
Exception:
toEnum{BlockCode}: tag (328) is outside of enumeration's range (0,3[27](https://github.com/haskell/text-icu/actions/runs/9086457145/job/24972179956#step:11:28))
CallStack (from HasCallStack):
error, called at Data\Text\ICU\Char.hsc:495:17 in text-icu-0.8.0.5-inplace:Data.Text.ICU.Char
'\191620'
(used seed 1991753370214507154)