unsplash/intlc

Ordinal plural fails to parse without at least one non-wildcard case

samhh opened this issue ยท 3 comments

samhh commented

Failing example:

{n, selectordinal, =1 {} other {}}
samhh commented

I think it's a bug? Or were we being more strict here? I don't think we happen to use this type very much.

samhh commented

I think this might actually be intentional:

-- | This is simpler than its cardinal counterpart. Here we need only validate

In which case this should possibly succeed parsing but be linted against. Bonus points that the lint warning will give better output than "unknown parse error". ๐Ÿ‘€

samhh commented

This was fixed in #158 and #159.