Commit c97b7284 authored by Clint Adams's avatar Clint Adams

haskell-gi: force overloading on (except for haddocks)

parent 710583c1
haskell-haskell-gi (0.21.4-2) unstable; urgency=medium
* Force overloading on (except for haddocks).
-- Clint Adams <clint@debian.org> Sat, 24 Nov 2018 20:29:18 -0500
haskell-haskell-gi (0.21.4-1) unstable; urgency=low haskell-haskell-gi (0.21.4-1) unstable; urgency=low
* Initial release * Initial release
......
--- a/lib/Data/GI/CodeGen/Code.hs
+++ b/lib/Data/GI/CodeGen/Code.hs
@@ -789,9 +789,9 @@
-- | Generate some convenience CPP macros.
cppMacros :: Text
-cppMacros = T.unlines ["#define ENABLE_OVERLOADING (MIN_VERSION_haskell_gi_overloading(1,0,0) \\"
+cppMacros = T.unlines ["#define ENABLE_OVERLOADING \\"
-- Haddocks look better without overloading
- , " && !defined(__HADDOCK_VERSION__))"
+ , " !defined(__HADDOCK_VERSION__))"
]
-- | Standard fields for every module.
fix-doctests fix-doctests
force-overloading
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment