summaryrefslogtreecommitdiff
path: root/testsuite/tests/pmcheck/should_compile/pmc009.hs
blob: f38fe80f995d4e51d7e2e2a85ef6db0b32c9d583 (plain)
1
2
3
4
5
6
7
8
module HsUtils where
import GHC.Hs.Binds
import GHC.Types.SrcLoc

addPatSynSelector:: GenLocated l (HsBindLR idL idR) -> [a]
addPatSynSelector bind
  | PatSynBind _ _ <- unLoc bind
  = []