-
Notifications
You must be signed in to change notification settings - Fork 965
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
[BUG] Index out of range during Singularize
#1154
Comments
I have been looking at this one, and the problem starts when this rule:
is run in ApplyRules in Inflections/Vocabularies.cs. This leaves result as the empty string, but not null, so that I'm not sure if the better approach is to change the conditional in I am also not sure what the test case should look like. I triggered the problem by adding And if the empty string is the right result, I don't (yet) know how to put that into the test structure so there is a regression test for this issue. |
For the specific case of A PR with a test and fix would be appreciated! |
I believe it makes sense to just return myself if myself is only a single character when we are Singularizing. We worked this around by adding uncountable rule to the single character |
What should the plural of a single letter be? Sometimes it makes sense to add Probably we should keep it as the default case of adding As far as I can see, |
When I execute
it throws this exception:
The text was updated successfully, but these errors were encountered: