-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Wed, Jan 21, 2009 at 2:56 PM, Eric Kow  wrote:
>> +{-# OPTIONS_GHC -cpp -fglasgow-exts #-}
>> +{-# LANGUAGE CPP, GADTs #-}
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEAREKAAYFAkl3mugACgkQvpDo5Pfl1oI4bQCggQ8GeW1MCQxYAu4O/QlSa7mc
5GsAnj0WaXckb5aB7u4Od2H/Hfeg8g7/
=V29R
-----END PGP SIGNATURE-----

>
> I think this broke GHC 6.6
>
>  src/Darcs/Show.hs:2:18: cannot parse LANGUAGE pragma
>
> (darcs.net still uses GHC 6.6...)
>
> Unfortunately, I've already pushed the patch (because my staging
> repository did not notice anything amiss)... Any quick fixes?

Argh. And 6.6 was working before, wasn't it, with LANGUAGE CPP #-} in
that file? What the heck, 6.6. You used to be cool, man.

Well, we could either revert my patch, or we could remove the CPP
pragma. All GHCs should work without the CPP pragma because of -cpp,
and if the issue with 6.6 is that it can't handle multiple LANGUAGE
pragmas, then removing CPP (to leave just the one GADTs pragma) will
fix it.

However, maybe the problem is that GHC simply can't handle the GADTs
pragma in any way shape or form? In which case unpulling the patch is
the only approach. 6.6 users?

-- 
gwern
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to