Improve validity check to give better error message
authorSimon Peyton Jones <simonpj@microsoft.com>
Thu, 30 May 2013 11:33:56 +0000 (12:33 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Thu, 30 May 2013 13:03:49 +0000 (14:03 +0100)
commit936001caa0dc045aa937c9f256b338429664d83c
tree4505ff46f801d6c3f3d34b91bd78653dd61ca7f0
parent8d49ef16c84b444592b6b234b6c97be047622df8
Improve validity check to give better error message

Fixes Trac #7809
compiler/typecheck/TcValidity.lhs