
#14266: AllowAmbiguousTypes doesn't play well with default class methods -------------------------------------+------------------------------------- Reporter: chris-martin | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj):
I'd be content with just this,
That's what I was suggesting when I said "I suppose that we could say that when the instantiated method type precisely matches the user-specified signature, then we just match things up in the obvious way." But GHC currently does the more general thing which, I bet, someone someday will report as a bug if we insist on a precise match. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14266#comment:12 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler