DanielG / ghc-syb

Scrap Your Boilerplate instances for GHC's data types
8 stars 10 forks source link

Update utils/GHC/SYB/Utils.hs #4

Closed cartazio closed 12 years ago

cartazio commented 12 years ago

adding the tracingDynFlags parameter because showSDoc now expects a DynFlag, and this is how you shim it in. 

This is for ghc 7.6 compatibility

nominolo commented 12 years ago

OK, thanks for figuring that out. I'll have to make it backwards compatible with 7.0.* and 7.4.* before I can merge this, though. I'll try to get to that tomorrow.

cartazio commented 12 years ago

yes, I punted on the #if fu needed for compatibility, but at least the hard part is solved for now :)

nominolo commented 12 years ago

Fixed it with 487203fe69f1a4653b5936d6401da6bbc5a14ac0