patch applied (ghc): Fix Trac #2597 (first bug): correct type checking for empty list

Simon Peyton Jones simonpj at microsoft.com
Sat Sep 20 19:09:12 EDT 2008


Sat Sep 20 14:20:10 PDT 2008  simonpj at microsoft.com
  * Fix Trac #2597 (first bug): correct type checking for empty list
  
  The GHC front end never generates (ExplicitList []), but TH can.
  This patch makes the typechecker robust to such programs.
  

    M ./compiler/typecheck/TcExpr.lhs -1 +10

View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20080920212010-1287e-fca088a4419949455e2482b736916583a6bb18b6.gz



More information about the Cvs-ghc mailing list