cvs commit: hugs98/src compiler.c

Sigbjorn Finne sof@glass.cse.ogi.edu
Thu, 23 May 2002 08:10:44 -0700


sof         2002/05/23 08:10:44 PDT

  Modified files:
    src                  compiler.c 
  Log:
  transConFlds: in a labelled field construction, fill in the missing
  field with a (Prelude.error  ...) value rather than just Prelude.undefined.
  
  The error message could be a lot better (viz. GHC's desugarer), but that
  will require keeping better track of the list of selectors/labels a
  constructor has.
  
  Revision  Changes    Path
  1.11      +9 -4      hugs98/src/compiler.c