[ ghc-Bugs-718357 ] lexLitChar broken on ghc-5.04.*

SourceForge.net noreply at sourceforge.net
Thu Apr 10 07:10:47 EDT 2003


Bugs item #718357, was opened at 2003-04-09 16:10
Message generated for change (Comment added) made by simonpj
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=718357&group_id=8032

Category: Prelude
Group: 5.04.3
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: lexLitChar broken on ghc-5.04.*

Initial Comment:
We finally tracked down a long-lasting problem 
preventing us from using ghc-5-04.* (we still use ghc-
5.02.3): the implementation of lexLitChar is broken.

Prelude Char> lexLitChar "BUG"
[]
Prelude Char>

A correct implementation (e.g., ghc-5.02.3 or hugs) 
should behave as follows

Char> lexLitChar "BUG"
[("B","UG")]
Char>

Tim

(I am currently not able to log in into sourceforge.net - 
here are my e-mail addresses:

Tim.Geisler at web.de
Tim.Geisler.extern at icn.siemens.de
)

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

>Comment By: Simon Peyton Jones (simonpj)
Date: 2003-04-10 11:10

Message:
Logged In: YES 
user_id=50165

This is fixed in the HEAD compiler.  I'm not sure if it's 
important enough to merge over to 5.04.4 (which we may 
never release, because 6.0 may come first), but it'd certainly 
be possible.

Sorry about this bug... there's a test for it now.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=718357&group_id=8032



More information about the Glasgow-haskell-bugs mailing list