Kill varSetElems in TcErrors
authorBartosz Nitka <niteria@gmail.com>
Tue, 26 Apr 2016 15:47:21 +0000 (08:47 -0700)
committerBartosz Nitka <niteria@gmail.com>
Tue, 26 Apr 2016 15:47:28 +0000 (08:47 -0700)
commit2dc5b92e070132114ea1a37f5bd82ab905ff7889
tree16bb64cd12a3af566dd3700d822f73e4316b03d8
parent0712f55628f22c61b0c7cedf71588d14156e6635
Kill varSetElems in TcErrors

The uses of varSetElems in these places are unnecessary and while it
doesn't intruduce non-determinism in the ABI the plan is to get
rid of all varSetElems to get some compile time guarantees.

Test Plan: ./validate

Reviewers: austin, simonmar, bgamari, goldfire, simonpj

Reviewed By: simonpj

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2141

GHC Trac Issues: #4012
compiler/typecheck/TcErrors.hs
testsuite/tests/dependent/should_fail/T11407.stderr
testsuite/tests/indexed-types/should_fail/T2693.stderr
testsuite/tests/typecheck/should_fail/T4921.stderr