[GHC] #9124: Infinite loop when printing a (finite) list with just one element

GHC ghc-devs at haskell.org
Mon May 19 13:30:18 UTC 2014


#9124: Infinite loop when printing a (finite) list with just one element
---------------------------------+------------------------------------
        Reporter:  OoS           |            Owner:
            Type:  bug           |           Status:  closed
        Priority:  normal        |        Milestone:
       Component:  Compiler      |          Version:  7.8.2
      Resolution:  invalid       |         Keywords:
Operating System:  Windows       |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown  |       Difficulty:  Unknown
       Test Case:  Yes           |       Blocked By:
        Blocking:                |  Related Tickets:
---------------------------------+------------------------------------
Changes (by nomeata):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Yes, it is used: In the definition of `rightScaled` (which is used in the
 definition of `right`). Note that you also have a parameter called
 `right`.

 Passing `-Wall` to GHC will make the compiler help you to avoid such
 problems.

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


More information about the ghc-tickets mailing list