Workaround for #340
This commit is contained in:
7
test/data/pattern-synonyms/B.hs
Normal file
7
test/data/pattern-synonyms/B.hs
Normal file
@@ -0,0 +1,7 @@
|
||||
{-# LANGUAGE PatternSynonyms #-}
|
||||
module B where
|
||||
import A
|
||||
|
||||
foo :: SomeType Int Char -> String
|
||||
foo x = case x of
|
||||
MyPat a b -> show a ++ " " ++ [b]
|
||||
Reference in New Issue
Block a user