Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
5154 commits behind the upstream repository.
Apoorv Ingle's avatar
Apoorv Ingle authored
Fixes for a bug in desugaring pattern synonyms matches, introduced
while working on  on expanding `do`-blocks in #18324

The `matchWrapper` unecessarily (and incorrectly) filtered out the
default wild patterns in a match. Now the wild pattern alternative is
simply ignored by the pm check as its origin is `Generated`.
The current code now matches the expected semantics according to the language spec.
0c48f2b9
History
Name Last commit Last update
..
should_compile
should_fail
should_run
Makefile