diff options
author | Sebastian Graf <sebastian.graf@kit.edu> | 2019-04-02 14:38:46 +0200 |
---|---|---|
committer | Sebastian Graf <sgraf1337@gmail.com> | 2019-04-02 08:58:36 -0400 |
commit | da98ea80d328856898c3bf1d4df98583ec86ddfe (patch) | |
tree | 94c0c6d031e38b7a0514d2763ea669bd27fcd53b /rts/win32/ThrIOManager.c | |
parent | dd9c82ef38e87ede01d81907c5037845f2944435 (diff) | |
download | haskell-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 'rts/win32/ThrIOManager.c')
0 files changed, 0 insertions, 0 deletions