summaryrefslogtreecommitdiff
path: root/compiler/utils
diff options
context:
space:
mode:
authorBartosz Nitka <niteria@gmail.com>2016-05-10 05:32:28 -0700
committerBartosz Nitka <niteria@gmail.com>2016-05-10 05:33:52 -0700
commitb58b0e18a568bbf6381a85eea7adc72679355671 (patch)
tree334bf7fd0d3aa80ee592bc8daab57ce304dc7801 /compiler/utils
parent4ac0e815739f6362c2815dd3ae531055a095d6a9 (diff)
downloadhaskell-b58b0e18a568bbf6381a85eea7adc72679355671.tar.gz
Make simplifyInstanceContexts deterministic
simplifyInstanceContexts used cmpType which is nondeterministic for canonicalising typeclass constraints in derived instances. Following changes make it deterministic as explained by the Note [Deterministic simplifyInstanceContexts]. Test Plan: ./validate Reviewers: simonmar, goldfire, simonpj, austin, bgamari Reviewed By: simonpj Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2173 GHC Trac Issues: #4012
Diffstat (limited to 'compiler/utils')
0 files changed, 0 insertions, 0 deletions