[GHC] #15985: `pprint EqualityT` infinitely loops

GHC ghc-devs at haskell.org
Sun Dec 2 00:29:46 UTC 2018


#15985: `pprint EqualityT` infinitely loops
-------------------------------------+-------------------------------------
           Reporter:  RyanGlScott    |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.8.1
          Component:  Template       |           Version:  8.6.2
  Haskell                            |
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 I was very surprised to discover that this program loops infinitely:

 {{{#!hs
 module Main where

 import Language.Haskell.TH

 main :: IO ()
 main = print $ pprint EqualityT
 }}}

 Let's not do that. Patch incoming.

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


More information about the ghc-tickets mailing list