1 {-# OPTIONS -fglasgow-exts #-}
3 -- !!! Caused ghc-4.04proto to report a bogus type error
4 -- !!! (as reported by Keith)
6 -- The type error arose from a mistake in tcMatches.tc_match
8 -- Involves pattern type signatures
10 module ShouldCompile where
12 p = let y = p in \ (x::a) -> x