summaryrefslogtreecommitdiff
path: root/hadrian
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2021-10-12 21:29:50 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-10-15 18:17:26 -0400
commitb6954f0ca8b6a4408f202405e30fea6328a68d92 (patch)
treec07ffd5784d0a809234bb3956b402aa78f37bcd3 /hadrian
parentbbb1f6dab34243af0a2841164e33eec451396b3f (diff)
downloadhaskell-b6954f0ca8b6a4408f202405e30fea6328a68d92.tar.gz
shadowNames: Use OccEnv a, not [OccName]
this allows us to use a smarter implementation based on `Data.IntSet.differenceWith`, which should do less work. Also, it will unblock improvements to !6703. The `OccEnv a` really denotes a set of `OccName`s. We are not using `OccSet`, though, because that is an `OccEnv OccName`, and we in !6703 we want to use this with differently-valued `OccEnv`s. But `OccSet`s are readily and safely coerced into `OccEnv`s. There is no other use of `delLocalRdrEnvList` remaining, so removing that.
Diffstat (limited to 'hadrian')
0 files changed, 0 insertions, 0 deletions