Fix Trac #2597 (first bug): correct type checking for empty list
authorsimonpj@microsoft.com <unknown>
Sat, 20 Sep 2008 21:20:10 +0000 (21:20 +0000)
committersimonpj@microsoft.com <unknown>
Sat, 20 Sep 2008 21:20:10 +0000 (21:20 +0000)
The GHC front end never generates (ExplicitList []), but TH can.
This patch makes the typechecker robust to such programs.


No differences found