#5959: GHC Panic: nameModule
-------------------------------+--------------------------------------------
    Reporter:  mightybyte      |       Owner:                    
        Type:  bug             |      Status:  new               
    Priority:  high            |   Milestone:  7.4.2             
   Component:  Compiler        |     Version:  7.4.1             
    Keywords:                  |          Os:  Linux             
Architecture:  x86_64 (amd64)  |     Failure:  Compile-time crash
  Difficulty:  Unknown         |    Testcase:                    
   Blockedby:                  |    Blocking:                    
     Related:                  |  
-------------------------------+--------------------------------------------

Comment(by mightybyte):

 I played around with this a little more.  First of all, I did some general
 work to the code in the snaplet-postgresql-simple code and the GHC panic
 still happens in the most recent code I've committed.

 Secondly, the panic goes away and the app builds cleanly if I remove the
 existential on line 31 of example/Site.hs and use "App" instead of the
 type variable on line 34 (https://github.com/mightybyte/snaplet-
 postgresql-simple/blob/master/example/Site.hs).

 With this in mind, I played around a little bit trying to create a minimal
 test case that demonstrates the problem, but thus far I've been
 unsuccessful.

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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to