Ticket #5084 (closed feature request: fixed)
Error message with INLINE/SPECIALISE pragma for class method
Description
The INLINE/SPECIALISE pragmas in a class declaration apply to the *default methods* in that declaration. However, no error is given if such a pragma is given when no corresponding default method exists, as in this example:
class Foo a where
bar :: a -> a
{-# INLINE bar #-}
Change History
Note: See
TracTickets for help on using
tickets.
