This bug was mentioned during ghc-2.03's time. I thought it had been
fixed since. But the following code still does not compile in ghc-2.04:
----------------------
data X = A {a :: Int} | B {a :: Int}
----------------------
test2.lhs:2:
Conflicting definitions for: `a'
Defined at test2.lhs:3
Defined at test2.lhs:3
Compilation had errors
----------------------
--
Meurig Sage
Dept of Computing Science
University of Glasgow
http://www.dcs.gla.ac.uk/~meurig
mailto:[EMAIL PROTECTED]
- Re: labelled fields in ghc-2.04 Meurig Sage
- Re: labelled fields in ghc-2.04 Simon L Peyton Jones
