Inconsistent error for chr with large codepoints
#2270
Labels
consistency
rakudo tests
The tests for this issue should be placed into Rakudo's own test suite, instead of roast
tests needed
Issue is generally resolved but tests were not written yet
The first error says stuff's out of bounds and states what the maximum is. The other just says the number's too large.
Also, both throw
X::AdHoc; if there's a way to throw something typed instead that'd be even better. (spotted during 6.d review of Raku/roast@fbdb81807 so if we get a typed exception that test can simply be modified)The text was updated successfully, but these errors were encountered: