[GHC] #1051: Insufficient location information for parse errors before ''module'' keyword

GHC trac at galois.com
Sun Dec 24 08:04:03 EST 2006


#1051: Insufficient location information for parse errors before ''module''
keyword
-------------------------------+--------------------------------------------
 Reporter:  nfrisby            |          Owner:  igloo      
     Type:  bug                |         Status:  closed     
 Priority:  normal             |      Milestone:  6.6.1      
Component:  Compiler (Parser)  |        Version:  6.6        
 Severity:  normal             |     Resolution:  fixed      
 Keywords:  error message      |     Difficulty:  Easy (1 hr)
 Testcase:                     |   Architecture:  Multiple   
       Os:  Multiple           |  
-------------------------------+--------------------------------------------
Changes (by igloo):

  * resolution:  => fixed
  * status:  new => closed

Comment:

 Thanks for the report.

 I've merged a patch from the HEAD to the 6.6 branch that addresses this:
 now the error you get is
 {{{
 Test.hs:1:0: file name does not match module name `Main'
 }}}


 Thanks
 Ian

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


More information about the Glasgow-haskell-bugs mailing list