Pattern Synonym should behave as expected while expanding `do`-blocks
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)