Skip to content

fix: handle negative Amharic cardinals via negword#676

Open
santhreal wants to merge 1 commit into
savoirfairelinux:masterfrom
santhreal:fix/am-negative-cardinal
Open

fix: handle negative Amharic cardinals via negword#676
santhreal wants to merge 1 commit into
savoirfairelinux:masterfrom
santhreal:fix/am-negative-cardinal

Conversation

@santhreal

@santhreal santhreal commented Jul 18, 2026

Copy link
Copy Markdown

lang_AM.to_cardinal hits TypeError when negative: override skips negword; splitnum returns None. This PR fixes the regression with a focused test covering the case.

to_cardinal overrode the base path and skipped negword, so negatives
reached splitnum/clean as None and raised TypeError.
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

Successfully merging this pull request may close these issues.

1 participant