Fix build error in ghc-8.9.

This commit is contained in:
Facundo Domínguez 2019-07-12 13:20:22 -03:00
parent 1819fe3cf5
commit a1c6780d87

View File

@ -75,7 +75,7 @@ mangleName name@(TH.Name occ fl) = case fl of
TH.NameU u -> TH.Name (mangle_occ u) fl
_ -> name
where
mangle_occ :: Int -> TH.OccName
mangle_occ :: TH.Uniq -> TH.OccName
mangle_occ uniq = TH.mkOccName (TH.occString occ ++ "_" ++ show uniq)
-- | Auto-generates the 'Static' instances corresponding to the given class