Skip to content

Pattern Synonym should behave as expected while expanding `do`-blocks

Apoorv Ingle requested to merge wip/T24552 into master

GHC.HsToCore.Match.matchWrapper has a spurious check for skipping pattern synonyms while desugaring them. A bug introduced by (!10140 (merged)) This patch fixes it.

Adds testcase testsuilte/test/patsyn/T24552.hs Fixes bug #24552 (closed)

Edited by Apoorv Ingle

Merge request reports