|
[ ghc-Bugs-886205 ] Record syntax change: msg#00003lang.haskell.glasgow.bugs
Bugs item #886205, was opened at 2004-01-28 13:33 Message generated for change (Comment added) made by simonmar You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=886205&group_id=8032 Category: Compiler (Parser) Group: 6.2 >Status: Closed Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Record syntax change Initial Comment: From: kh@xxxxxxxxxxxxxxxx Records no longer allow a trailing comma before '}' e.g. $ ghc -c bar.hs bar.hs:3: parse error on input `}' $ cat bar.hs f n = R { field = n, } $ System: Apple Powerbook G4 running MacOS X.3 (Panther) as previous GHC: 6.2 Not a big deal, but this has broken code that worked in ghc 4.x and 5.x Best Wishes, Kevin ---------------------------------------------------------------------- >Comment By: Simon Marlow (simonmar) Date: 2004-02-02 10:54 Message: Logged In: YES user_id=48280 GHC is correct here - as you say, the code is broken. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=886205&group_id=8032
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-886199 ] LINE pragma syntax and happy, SourceForge.net |
|---|---|
| Next by Date: | RE: ghc-pkg makes unnecessary assumptions on Solaris, Simon Marlow |
| Previous by Thread: | [ ghc-Bugs-886199 ] LINE pragma syntax and happy, SourceForge.net |
| Next by Thread: | RE: ghc-pkg makes unnecessary assumptions on Solaris, Simon Marlow |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |