[cvs-nhc98] cvs commit: hat/src/hattrans AuxFile.hs TraceTrans.hs

olaf@glass.cse.ogi.edu olaf@glass.cse.ogi.edu
Tue, 29 Apr 2003 08:27:00 -0700


olaf        2003/04/29 08:27:00 PDT

  Modified files:
    src/hattrans         AuxFile.hs TraceTrans.hs 
  Log:
  Correct bugs introduced by previous bug-fixes.
  
  Malcolm Wallace reported that the hat-transformed prelude would no longer compile. There were two sorts of errors:
  
  Hat/PreludeBuiltin.hs:1:
      Type constructor or class not in scope: `Char'
  
  This was because import of the sort "TraceOrigPrelude" had been dropped by some inappropriate filtering of such imports. Now they are back again.
  
  Hat/PreludeBuiltin.hs:108: Variable not in scope: `Prelude.sempty'
  
  Calls in instances needed qualification when the class was imported qualified. However, the implementation always qualified the ids; when the class did not have a qualfifier it used Prelude. Now no qualfication happens in such a case.
  
  Revision  Changes    Path
  1.27      +8 -6      hat/src/hattrans/AuxFile.hs
  1.61      +3 -1      hat/src/hattrans/TraceTrans.hs