[GHC] #2888: Source file that compiled fine no longer compiles after touching it.

GHC trac at galois.com
Tue Dec 30 12:07:04 EST 2008


#2888: Source file that compiled fine no longer compiles after touching it.
------------------------------------------------+---------------------------
    Reporter:  Eelis-                           |        Owner:  igloo           
        Type:  merge                            |       Status:  new             
    Priority:  normal                           |    Milestone:                  
   Component:  Compiler                         |      Version:  6.10.1          
    Severity:  normal                           |   Resolution:                  
    Keywords:                                   |   Difficulty:  Unknown         
    Testcase:  indexed-types/should_fail/T2888  |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple                 |  
------------------------------------------------+---------------------------
Changes (by simonpj):

  * testcase:  => indexed-types/should_fail/T2888
  * owner:  simonpj => igloo
  * type:  bug => merge

Comment:

 Here's the patch:
 {{{
 Tue Dec 30 16:44:32 GMT 2008  simonpj at microsoft.com
   * Avoid nasty name clash with associated data types (fixes Trac #2888)

   The main bug was in TcHsType; see Note [Avoid name clashes for
   associated data types].  However I did a bit of re-factoring while
   I was about it.
 }}}
 Not in the commit message (accidentally) but I added a test for empty type
 indices.  Currently it's an error not a warning.

 Pls merge

 Simon

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


More information about the Glasgow-haskell-bugs mailing list