[GHC] #941: readFile problem in ghci

GHC trac at galois.com
Sat Oct 21 14:46:49 EDT 2006


#941: readFile problem in ghci
---------------------+------------------------------------------------------
 Reporter:  guest    |          Owner:         
     Type:  bug      |         Status:  new    
 Priority:  normal   |      Milestone:  6.6.1  
Component:  GHCi     |        Version:  6.6    
 Severity:  normal   |     Resolution:         
 Keywords:           |     Difficulty:  Unknown
 Testcase:           |   Architecture:  x86    
       Os:  Windows  |  
---------------------+------------------------------------------------------
Changes (by igloo):

  * milestone:  => 6.6.1

Old description:

> readFile has a problem in ghci on cygwins (windows XP):
>
> Prelude> writeFile "test" "this is a test"
> Prelude> readFile "test"
> <interactive>:1:0: lexical error at character '['

New description:

 readFile has a problem in ghci on cygwins (windows XP):

 {{{
 Prelude> writeFile "test" "this is a test"
 Prelude> readFile "test"
 <interactive>:1:0: lexical error at character '['
 }}}

Comment:

 I can't reproduce this with the original example. Has anyone got a
 testcase?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/941>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list