[GHC] #8854: Missing class method not caught at compile time, program freezes when missing method is called.

GHC ghc-devs at haskell.org
Thu Mar 6 21:39:57 UTC 2014


#8854: Missing class method not caught at compile time, program freezes when
missing method is called.
----------------------------------+----------------------------------
        Reporter:  RaminHAL9001   |            Owner:
            Type:  bug            |           Status:  closed
        Priority:  normal         |        Milestone:
       Component:  Compiler       |          Version:  7.6.3
      Resolution:  invalid        |         Keywords:
Operating System:  Linux          |     Architecture:  x86_64 (amd64)
 Type of failure:  Runtime crash  |       Difficulty:  Unknown
       Test Case:                 |       Blocked By:
        Blocking:                 |  Related Tickets:  #7633
----------------------------------+----------------------------------
Changes (by simonpj):

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


Comment:

 Oh well, that's easy!  This situation is precisely what the MINIMAL pragma
 is for.  There is not, and never was, the slightest guarantee that
 anything else will work.  If you get `<<loop>>` you are just lucky! It's
 not a bug in 7.6; it just a feature that doesn't exist, but now does.

 Simon

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


More information about the ghc-tickets mailing list