- add a test for non-parsing of strict newtype constructor fields
- other small fixes
y = 3
instance Foo Int where
+
+f = f where g = g where
+type T = Int
+module ShouldFail where
+
{-
From: Kevin Hammond <kh>
To: partain
-}
module Test where
-f x = x + if c then 1 else 2
+f x = x + if True then 1 else 2
f x = x + 1::Int
-- (the conditional/sig need to be parenthesised). If this is
--- /dev/null
+module ShouldFail where
+
+-- strictness annotations on the argument to a newtype constructor
+-- are not allowed.
+newtype N a = T ![a]
--- /dev/null
+read008.hs:5: parse error on input `!'
+
+Compilation had errors
+