#2880: GHC panic when printing Unique
------------------------------+---------------------------------------------
 Reporter:  sebf              |          Owner:                  
     Type:  bug               |         Status:  closed          
 Priority:  normal            |      Milestone:                  
Component:  Compiler          |        Version:  6.10.1          
 Severity:  normal            |     Resolution:  fixed           
 Keywords:                    |       Testcase:                  
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
------------------------------+---------------------------------------------
Comment (by batterseapower):

 Factoring out Uniques would be /fairly/ straightforward - I think the only
 surprising dependency of Uniques comes from that use of the static flag,
 which is only used when printing them. This is easily avoided by defining
 a new Show instance that does not use pprUnique.

 However, I'm not sure we want GHC to have another dependency (and hence
 boot package), so we would probably not depend on that package ourselves -
 but you are welcome to copy the code :-)

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2880#comment:3>
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