Skip to content
This repository
Browse code

Fix build for GHC 6.10.4.

  • Loading branch information...
commit acb5d491b6dd12f1aeb27ef81b568e55258b2378 1 parent b8fd7c7
Thomas Schilling authored
4  ghc-syb.cabal
... ...
@@ -1,5 +1,5 @@
1 1
 name:            ghc-syb
2  
-version:         0.1.2.1
  2
+version:         0.1.2.2
3 3
 license:         BSD3
4 4
 license-file:    LICENSE
5 5
 author:          Claus Reinke
@@ -12,7 +12,7 @@ category:        Development
12 12
 stability:       provisional
13 13
 build-type:      Simple
14 14
 cabal-version:   >= 1.2.3
15  
-tested-with:     GHC ==6.10.1
  15
+tested-with:     GHC ==6.10.1, GHC ==6.10.4
16 16
 -- extra-source-files: README
17 17
 
18 18
 library
6  src/GHC/SYB/Instances.hs
@@ -278,6 +278,9 @@ deriving instance Data HsDocString
278 278
 
279 279
 deriving instance Typeable DocDecl
280 280
 deriving instance Data DocDecl
  281
+#else
  282
+deriving instance Typeable1 DocDecl
  283
+deriving instance Data a => Data (DocDecl a)
281 284
 #endif
282 285
 
283 286
 -- Typeable1
@@ -465,5 +468,6 @@ deriving instance Data a => Data (AnnProvenance a)
465 468
 deriving instance Typeable1 AnnProvenance
466 469
 #endif
467 470
 
468  
-#endif 
  471
+-- end of ifdef __HADDOCK__
  472
+#endif
469 473
 

0 notes on commit acb5d49

Please sign in to comment.
Something went wrong with that request. Please try again.