#1856: Haskell determines that the modules are recursively imported but they are
not, but the problem was the name of a module didn't match the file name
where it was holded
---------------------------------------------------------+------------------
 Reporter:  guest                                        |          Owner:      
      
     Type:  feature request                              |         Status:  new 
      
 Priority:  normal                                       |      Milestone:  6.8 
branch
Component:  Compiler                                     |        Version:  6.6 
      
 Severity:  normal                                       |     Resolution:      
      
 Keywords:  Modules Recursively Imported Error Messages  |     Difficulty:  
Unknown   
 Testcase:                                               |   Architecture:  x86 
      
       Os:  Linux                                        |  
---------------------------------------------------------+------------------
Changes (by simonpj):

  * milestone:  6.6.2 => 6.8 branch

Comment:

 Good point.  Although it's specifically legal to name a file on the
 command line that contains a module with a different name.

 Proposal:
  * Cut down error message to display a minimal cycle
  * Display file names where not same as module name
  * Omit the "main:" stuff

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1856#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to