Kill varSetElems try_tyvar_defaulting
authorBartosz Nitka <niteria@gmail.com>
Tue, 26 Apr 2016 16:51:26 +0000 (09:51 -0700)
committerBartosz Nitka <niteria@gmail.com>
Tue, 26 Apr 2016 16:51:33 +0000 (09:51 -0700)
commit94320e1d34d14017cc9b38226ea78205a0a76a2b
tree07dd48dec905b2d23034b5a08961cce03553f54c
parent2dc5b92e070132114ea1a37f5bd82ab905ff7889
Kill varSetElems try_tyvar_defaulting

`varSetElems` introduces unnecessary nondeterminism and we can do
the same thing deterministically for the same price.

Test Plan: ./validate

Reviewers: goldfire, austin, simonmar, bgamari, simonpj

Reviewed By: simonpj

Subscribers: thomie

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

GHC Trac Issues: #4012
compiler/typecheck/TcMType.hs
compiler/typecheck/TcRnTypes.hs
compiler/typecheck/TcSMonad.hs
compiler/typecheck/TcSimplify.hs