[ ghc-Bugs-1329672 ] Corruption of expression typed at prompt

2005-10-20 Thread SourceForge.net
Bugs item #1329672, was opened at 2005-10-18 17:13
Message generated for change (Comment added) made by simonpj
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=108032aid=1329672group_id=8032

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: GHCi
Group: 6.4.1
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Corruption of expression typed at prompt

Initial Comment:
[EMAIL PROTECTED]

WinXP SP2 GHC 6.4.1

On two occasions now I have loaded my program and typed
at the prompt toFile blah and got the error Not in
scope 'goFile'. Repeating the expressione evaluates it
correctly. Is strange that both times it was exactly
the same function whose name was corrupted.
Does not seem to particularly repeatable (I've had it
twice out of maybe a hundred times I've done this)
Doubt it has anything to do with the details of my code
(which has changed substantially since last time this
happened)
Assume some (completely random) part of ghc is
corrupting  what was typed at the prompt. This will,
unfortunately, probably make it completely impossible
to find...


--

Comment By: Simon Peyton Jones (simonpj)
Date: 2005-10-20 08:00

Message:
Logged In: YES 
user_id=50165

This is a bug in Windows, I'm afraid.  It corrupts the first 
character of typeahead.

To mitigate its effects, GHCi does try to disable typeahead by 
flushing the console input buffer, that was how we resolved 
this issue a couple of months back. The flushing wasn't done 
as late as it could have been though, leaving a (short) window 
for the user to stick some characters into the input queue 
before the prompt appeared. Sigbjorn has narrowed down the 
size of this window to its minimum  included that mod with
the new installer for 6.4.1.   Thanks Sigbjorn.


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=108032aid=1329672group_id=8032
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


[ ghc-Bugs-1329672 ] Corruption of expression typed at prompt

2005-10-18 Thread SourceForge.net
Bugs item #1329672, was opened at 2005-10-18 10:13
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=108032aid=1329672group_id=8032

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: GHCi
Group: 6.4.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Corruption of expression typed at prompt

Initial Comment:
[EMAIL PROTECTED]

WinXP SP2 GHC 6.4.1

On two occasions now I have loaded my program and typed
at the prompt toFile blah and got the error Not in
scope 'goFile'. Repeating the expressione evaluates it
correctly. Is strange that both times it was exactly
the same function whose name was corrupted.
Does not seem to particularly repeatable (I've had it
twice out of maybe a hundred times I've done this)
Doubt it has anything to do with the details of my code
(which has changed substantially since last time this
happened)
Assume some (completely random) part of ghc is
corrupting  what was typed at the prompt. This will,
unfortunately, probably make it completely impossible
to find...


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=108032aid=1329672group_id=8032
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs