summaryrefslogtreecommitdiff
path: root/docs/index.html.in
diff options
context:
space:
mode:
authorAlp Mestanogullari <alp@well-typed.com>2018-11-12 15:38:46 +0100
committerAlp Mestanogullari <alp@well-typed.com>2018-11-12 17:50:06 +0100
commit86ee74dc999db6030874ddaf5d10adec23108c02 (patch)
treee9a24641ae01c692ffc0661e15594cb2185b3127 /docs/index.html.in
parentd30352add1da67dd0346613853cd423c7becbaeb (diff)
downloadhaskell-86ee74dc999db6030874ddaf5d10adec23108c02.tar.gz
compareByPreference: handle the integer-gmp vs -simple case
Currently, it assumes the package names are identical and this breaks in the case where integer-gmp is in one package db and integer-simple in another. This became a problem with the commit: fc2ff6dd7496a33bf68165b28f37f40b7d647418. Instead of following the precedence information, leading to the right choice, the current code would compare the integer-gmp and integer-simple versions and pick integer-gmp because it happened to have a greater version, despite having a lower precedence. See https://github.com/snowleopard/hadrian/issues/702 for a comprehensive report about the problem. This effectively un-breaks integer-simple builds with hadrian. Test Plan: hadrian/build.sh --integer-simple Reviewers: snowleopard, bgamari Reviewed By: bgamari Subscribers: snowleopard, rwbarton, carter Differential Revision: https://phabricator.haskell.org/D5266
Diffstat (limited to 'docs/index.html.in')
0 files changed, 0 insertions, 0 deletions