Allow spliced patterns in pattern synonyms
authorBen Gamari <bgamari.foss@gmail.com>
Thu, 11 May 2017 19:46:37 +0000 (15:46 -0400)
committerBen Gamari <ben@smart-cactus.org>
Thu, 11 May 2017 21:33:12 +0000 (17:33 -0400)
commit01db13586a6eab9f66101b01d1b0584f334d5d25
tree71f730e286a7af45d1ad6442d75d2a5c9a146f83
parenteaf9cc4240019c2e91922ef38ae7236b59d59bdd
Allow spliced patterns in pattern synonyms

This ended up being quite simple.

Reviewers: austin, goldfire, mpickering

Subscribers: rwbarton, shlevy, thomie

GHC Trac Issues: #13688

Differential Revision: https://phabricator.haskell.org/D3571
compiler/typecheck/TcPatSyn.hs
testsuite/tests/patsyn/should_run/T13688.hs [new file with mode: 0644]
testsuite/tests/patsyn/should_run/T13688.stdout [new file with mode: 0644]
testsuite/tests/patsyn/should_run/T13688Quasi.hs [new file with mode: 0644]
testsuite/tests/patsyn/should_run/all.T