summaryrefslogtreecommitdiff
path: root/compiler/utils/OrdList.hs
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2016-03-23 17:24:45 +0100
committerBen Gamari <ben@smart-cactus.org>2016-03-24 10:53:27 +0100
commit0db05941668814094c2b18b3d35e1deaed36c210 (patch)
tree70d15be2f38cc84f21cec3c1e36aedc20e21670a /compiler/utils/OrdList.hs
parent9f9345e5ad55e4a02e6de9afac814ac58c852ff2 (diff)
downloadhaskell-0db05941668814094c2b18b3d35e1deaed36c210.tar.gz
DsExpr: Rip out static/dynamic check in list desugaring
Previously we would try to break explicit lists into a dynamic prefix and static tail and desugar the former into a `build` expression. Unfortunately, this heuristic resulted in surprising behavior (see #11710) and wasn't pulling its weight. Here we drop it (along with the `-fsimple-list-literals` flag), leaving only the list length heuristic to determine whether `build` or cons list desugaring should be used. Test Plan: Validate Reviewers: simonpj, austin Reviewed By: simonpj Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2023 GHC Trac Issues: #11710
Diffstat (limited to 'compiler/utils/OrdList.hs')
0 files changed, 0 insertions, 0 deletions