[GHC] #870: extra commas accepted in import export lists
GHC
trac at galois.com
Sat Aug 19 14:16:27 EDT 2006
#870: extra commas accepted in import export lists
-----------------------+----------------------------------------------------
Reporter: ross | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.4.2
Severity: normal | Resolution:
Keywords: | Os: Unknown
Difficulty: Unknown | Architecture: Unknown
-----------------------+----------------------------------------------------
Comment (by duncan):
Though of course, existing programs use this and will break. I'm not
saying don't do it, just bear that in mind.
I'll have to go change every module in Gtk2Hs. :-)
One advantage of allowing extra ','s is that it makes it easier to see
what's really changed in a diff and it makes using #ifdefs in export lists
easier.
If this is going to change perhaps start by deprecating them and making it
a warning so people will have a chance to fix their code.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/870>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list