It's probably my fault -- I've been beating on the renamer, trying
to make it import fewer instance decls, and it looks as if it's importing
too few.
Can you tar up your source files (and Makefile) and send them to me? easier
to debug when it's to hand
Simoin
> -----Original Message-----
> From: George Russell
> Sent: Thursday, May 27, 1999 11:52 AM
> To: Simon Peyton-Jones
> Cc: [EMAIL PROTECTED]
> Subject: More problems with .hi files
>
>
> Well I've updated GHC yet again to solve the last problem, but it's
> made things even worse, because GHC has now forgotten an instance
> declaration which it remembered before.
>
> Specifically file Interaction.hs contains the line:
> > instance Event IA where
> (etc)
> Interaction.hi contains the line:
> > instance {Event.Event ExternalEvent.IA} = zdfEventIA;
> Sensor.hs contains the line
> > import Interaction
> (This wasn't necessary before but I put it in to see if it
> made any difference.)
> However GHC produces the error message:
> > Sensor.hs:48:
> > No instance for `Event IA'
> > arising from use of `inaction' at Sensor.hs:48
> So what has changed in the last few weeks that might cause this?
> (I'd like to be more precise than "last few weeks" but
> I don't know how to get a single global version number from
> the CVS repository.)
>