|
[ ghc-Bugs-847471 ] Extra comma allowed in named fields: msg#00049lang.haskell.glasgow.bugs
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
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-828975 ] misleading stability, SourceForge.net |
|---|---|
| Next by Date: | [ ghc-Bugs-848431 ] Profiling crashes in heapCensus., SourceForge.net |
| Previous by Thread: | [ ghc-Bugs-847471 ] Extra comma allowed in named fields, SourceForge.net |
| Next by Thread: | [ ghc-Bugs-847910 ] SRT labelghc-6.0.1: panic, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |