[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:05:29 UTC 2014


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

Comment (by simonpj):

 If you specify the minimal complete definition, using the MINIMAL pragma
 (which is part of 7.8, but not 7.6) then it should warn.  If it doesn't,
 that's a bug.  Can you give the complete source code for a program that
 exhibits the bug... if we can't reproduce it we can't fix it.

 Thanks

 Simon

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


More information about the ghc-tickets mailing list