2 Date: Tue, 20 May 1997 05:10:04 GMT
3 From: Tomasz Cholewo <tjchol01@mecca.spd.louisville.edu>
5 ghc-2.03 cannot compile the following code, which I think is correct
6 according to the Report
8 data X = A {a :: Int} | B {a :: Int}
12 Conflicting definitions for: a
16 In addition the following snippet
24 bug4.lhs:4:5: Not a valid LHS on input: "in"
26 --module Main(main) where
28 data X = A {a :: Int} | B {a :: Int}
33 main = print (f (A {a = 3}))