Skip to content

Commit

Permalink
Fix flattening in presence of plural refs
Browse files Browse the repository at this point in the history
  • Loading branch information
samhh committed Nov 21, 2022
1 parent aa01a97 commit 9e8de6d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/Intlc/Compiler.hs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ flatten = go mempty
ICU.CardinalExact n xs _ -> ICU.CardinalExact' n (mapPluralCase rec <$> xs)
ICU.CardinalInexact n xs ys w _ -> ICU.CardinalInexact' n (mapPluralCase rec <$> xs) (mapPluralCase rec <$> ys) (rec w)
ICU.Ordinal n xs ys w _ -> ICU.Ordinal' n (mapPluralCase rec <$> xs) (mapPluralCase rec <$> ys) (rec w)
ICU.PluralRef n _ -> ICU.PluralRef' n
ICU.SelectNamed n xs _ -> ICU.SelectNamed' n (mapSelectCase rec <$> xs)
ICU.SelectWild n w _ -> ICU.SelectWild' n (rec w)
ICU.SelectNamedWild n xs w _ -> ICU.SelectNamedWild' n (mapSelectCase rec <$> xs) (rec w)
Expand Down

0 comments on commit 9e8de6d

Please sign in to comment.