[GHC] #7123: Dictionary method should be applicable even in existential context

GHC cvs-ghc at haskell.org
Tue Aug 7 10:58:16 CEST 2012


#7123: Dictionary method should be applicable even in existential context
------------------------------+---------------------------------------------
 Reporter:  heisenbug         |          Owner:                  
     Type:  bug               |         Status:  new             
 Priority:  normal            |      Component:  Compiler        
  Version:  7.4.1             |       Keywords:                  
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
  Failure:  None/Unknown      |       Testcase:                  
Blockedby:                    |       Blocking:                  
  Related:                    |  
------------------------------+---------------------------------------------

Comment(by heisenbug):

 I lost my nicely formatted bug report, but I'll try to explain the gist
 here:

   Since the `Quux` has been constructed with the matching dictionary, the
 `baz` method should be applicable.

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



More information about the Glasgow-haskell-bugs mailing list