Bugs item #847471, was opened at 2003-11-23 01:20
Message generated for change (Comment added) made by simonmar
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=847471&group_id=8032

Category: Compiler (Parser)
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Extra comma allowed in named fields

Initial Comment:
The following has a syntax error (extra comma after the 
brace in line 5) undetected by ghc 6.0.1:
===================================
module Main(main) where

data X = X { x :: Int }

main = let d = X {, x = 2} in putStr "bug"
===================================


----------------------------------------------------------------------

>Comment By: Simon Marlow (simonmar)
Date: 2003-11-26 10:08

Message:
Logged In: YES 
user_id=48280

Thanks; fixed.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=847471&group_id=8032
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to