|
[ ghc-Bugs-847471 ] Extra comma allowed in named fields: msg#00043lang.haskell.glasgow.bugs
Bugs item #847471, was opened at 2003-11-22 17:20 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=847471&group_id=8032 Category: Compiler (Parser) Group: None Status: Open Resolution: None 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" =================================== ---------------------------------------------------------------------- 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: | Re: internal error: RTS exhausted max heap size (GHC 6.0.1), Sigbjorn Finne |
|---|---|
| Next by Date: | [ ghc-Bugs-847910 ] SRT labelghc-6.0.1: panic, SourceForge.net |
| Previous by Thread: | repeated import warning, Serge D. Mechveliani |
| Next by Thread: | [ ghc-Bugs-847471 ] Extra comma allowed in named fields, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |