#5399: GHC 7.0.3 produces corrupt .hi files for qtHaskell
---------------------------+------------------------------------------------
Reporter: ian.duncan | Owner:
Type: bug | Status: infoneeded
Priority: normal | Milestone: 7.4.1
Component: Compiler | Version: 7.0.4
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: MacOS X | Blocking:
Architecture: x86 | Failure: None/Unknown
---------------------------+------------------------------------------------
Changes (by simonmar):
* status: new => infoneeded
* milestone: => 7.4.1
Comment:
Simon and I managed to reproduce the warnings. In order to get past the
type error we made the following change:
{{{
diff -c /home/simonmar/scratch/qtHaskell-1.1.4/Qtc/Core/Attributes.hs\~
/home/simonmar/scratch/qtHaskell-1.1.4/Qtc/Core/Attributes.hs
*** /home/simonmar/scratch/qtHaskell-1.1.4/Qtc/Core/Attributes.hs~
2010-09-02 17:02:32.000000000 +0100
--- /home/simonmar/scratch/qtHaskell-1.1.4/Qtc/Core/Attributes.hs
2011-09-07 11:19:56.000000000 +0100
***************
*** 580,586 ****
instance (Qstt a (QDialogSc b)) => QsaSlotReject (a) where
slotReject' = (Qslot "reject()", \_ -> ())
! reject' = slotReject'
class QsaSignalRejected_nt_f w x f where
signalRejected', rejected' :: x -> SltConf w f
--- 580,586 ----
instance (Qstt a (QDialogSc b)) => QsaSlotReject (a) where
slotReject' = (Qslot "reject()", \_ -> ())
! reject' = (Qslot "reject()", \_ -> ())
class QsaSignalRejected_nt_f w x f where
signalRejected', rejected' :: x -> SltConf w f
}}}
We believe that the warnings are related to #5263, which was fixed in
7.2.1. Could you try with 7.2.1 or later please?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5399#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs