mirror of
https://github.com/Drezil/dear-imgui.hs.git
synced 2025-07-19 19:23:14 +02:00
Fix GHC-9.2 build (#145)
This commit is contained in:
committed by
GitHub
parent
7d4f3a8b93
commit
08d4b423ad
@ -24,6 +24,10 @@ import Data.Traversable
|
||||
( for )
|
||||
import Foreign.Storable
|
||||
( Storable )
|
||||
#if MIN_VERSION_template_haskell(2,18,0)
|
||||
import Data.Coerce
|
||||
( coerce )
|
||||
#endif
|
||||
|
||||
-- containers
|
||||
import Data.Map.Strict
|
||||
@ -171,7 +175,7 @@ declareEnumeration finiteEnumName countName ( Enumeration {..} ) = do
|
||||
else
|
||||
\ nm args dir pat ->
|
||||
TH.patSynD_doc nm args dir pat
|
||||
( Just $ Text.unpack patDoc ) []
|
||||
( Just $ Text.unpack _patDoc ) []
|
||||
)
|
||||
#else
|
||||
TH.patSynD
|
||||
|
Reference in New Issue
Block a user