hack[tests]: Disable the specialization warnings

This commit is contained in:
vegowotenks 2025-08-14 09:39:30 +02:00
parent 851da6e469
commit 05397334ed

View file

@ -1,6 +1,7 @@
{-# LANGUAGE Unsafe #-} -- unsafe: I am using TemplateHaskell from a dependency {-# LANGUAGE Unsafe #-} -- unsafe: I am using TemplateHaskell from a dependency
{-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE TemplateHaskell #-} -- for 'quickCheckAll'
{-# LANGUAGE TypeApplications #-} {-# OPTIONS_GHC -Wno-all-missed-specialisations #-} -- a lot of warnings for unspecialized 'read' and 'show', which I cannot specialize
-- I wouldn't know how at least, they're not my datatypes, I cannot use the hint and add an 'INLINABLE' pragma
module Test.Data.Map.Implicit (prop_readShowIdentityRoundtrip, prop_readShowMaybeRoundtrip, runTests) where module Test.Data.Map.Implicit (prop_readShowIdentityRoundtrip, prop_readShowMaybeRoundtrip, runTests) where
import Test.QuickCheck.Roundtrip (roundtrips) import Test.QuickCheck.Roundtrip (roundtrips)
import Text.Show (show) import Text.Show (show)