Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

t_blockCode test failure again with ICU 74 #103

Open
andreasabel opened this issue May 3, 2024 · 2 comments
Open

t_blockCode test failure again with ICU 74 #103

andreasabel opened this issue May 3, 2024 · 2 comments

Comments

@andreasabel
Copy link
Member

andreasabel commented May 3, 2024

This is a reprise of

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'
@andreasabel andreasabel changed the title t_blockCode test failure again on macOS with ICU 74 t_blockCode test failure again with ICU 74 May 3, 2024
@vshabanov
Copy link
Collaborator

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.

@andreasabel
Copy link
Member Author

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants