Avoid running afoul of the zipTvSubst check.
authorRichard Eisenberg <eir@cis.upenn.edu>
Tue, 22 Mar 2016 02:35:41 +0000 (22:35 -0400)
committerRichard Eisenberg <eir@cis.upenn.edu>
Tue, 22 Mar 2016 02:35:41 +0000 (22:35 -0400)
commit0beb82c171913508dc0de91851ab8e90821d8ba8
treef3108c27f286a2798a7e1ed74c0e1906e9d6d2df
parent685398ebc5c8377597714cd8c3e97439d32e3a02
Avoid running afoul of the zipTvSubst check.

addDataConStupidTheta includes comments that the types list
might be longer than the tvs list. And the check in zipTvSubst
doesn't appear to be terribly recent. I am utterly flummoxed
as to why this worked before. It was clearly just broken.
And now it's fixed.
compiler/typecheck/TcPat.hs