Commit c97b7284 authored by Clint Adams's avatar Clint Adams
Browse files

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

parent 710583c1
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
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

  * Initial release
+14 −0
Original line number Diff line number Diff line
--- 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.
+1 −0
Original line number Diff line number Diff line
fix-doctests
force-overloading