From: simonpj@microsoft.com Date: Sun, 22 Apr 2007 21:29:11 +0000 (+0000) Subject: Fix corner case of useless constraint in SPECIALISE pragma X-Git-Tag: 2007-05-06~131 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=e5ca7e6e5137a2e6081717e5e90ca52a30840f68;hp=e5ca7e6e5137a2e6081717e5e90ca52a30840f68;p=ghc-hetmet.git Fix corner case of useless constraint in SPECIALISE pragma MERGE TO STABLE This patch fixes Trac #1287. The problem is described in Note [Unused spec binders] in DsBinds. At the same time I realised that the error messages in DsBinds.dsPrag were being given the location of the *binding* not the *pragma*. So I've fixed that too. ---