summaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
authorSebastian Graf <sebastian.graf@kit.edu>2019-04-02 14:38:46 +0200
committerSebastian Graf <sgraf1337@gmail.com>2019-04-02 08:58:36 -0400
commitda98ea80d328856898c3bf1d4df98583ec86ddfe (patch)
tree94c0c6d031e38b7a0514d2763ea669bd27fcd53b /libffi
parentdd9c82ef38e87ede01d81907c5037845f2944435 (diff)
downloadhaskell-wip/T13363.tar.gz
Fix #13363wip/T13363
The pattern match checker doesn't handle pattern synonyms (yet); it just regards them as additional data constructors. But that's wrong from the perspective of redudancy checking: A match on a pattern synonym will always lead to an overlap warning, because the mismatch case in `ConCon` will always return `NotCovered`, which is unsound. The proper conservative approximation is to return `Covered` whenever we mismatched against a pattern synonym.
Diffstat (limited to 'libffi')
0 files changed, 0 insertions, 0 deletions