Fix Trac #2587: take account of type lets
authorsimonpj@microsoft.com <unknown>
Sun, 14 Sep 2008 11:34:34 +0000 (11:34 +0000)
committersimonpj@microsoft.com <unknown>
Sun, 14 Sep 2008 11:34:34 +0000 (11:34 +0000)
commit7c0bfc36a39ab8e181cca97be3e5b21dda9be0cb
tree5b5919542ff8b45a6bd2d48d6d0aa2072ccd45d6
parent442e45db830166b3a9ef70320eaf45c5b845abda
Fix Trac #2587: take account of type lets

GHC allows a non-recursive let for type varaibles
let a = TYPE ty in ...
But the free-variable finder had not caught up with this
fact. This patch catches up.
compiler/coreSyn/CoreFVs.lhs