|
[ ghc-Bugs-1329672 ] Corruption of expression typed at prompt: msg#00045lang.haskell.glasgow.bugs
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=detail&atid=108032&aid=1329672&group_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: cjbackhouse@xxxxxxxxxxx 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=detail&atid=108032&aid=1329672&group_id=8032
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-1332817 ] Windows HGL Thread problems, SourceForge.net |
|---|---|
| Next by Date: | [ ghc-Bugs-1328684 ] Win GHC 6.4.1 crashes while building FastPackedString, SourceForge.net |
| Previous by Thread: | [ ghc-Bugs-1329672 ] Corruption of expression typed at prompt, SourceForge.net |
| Next by Thread: | [ ghc-Bugs-1330166 ] build fails on Linux/sparc (genprimopcode: parse error at), SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |