Hi GHC,

Did the behavior of the INLINE prgama change in version 7.2.1? I
didn't see anything in the release notes.

Previously (7.0.3) I could attach an inline pragma to a class member like so:

class MyClass a with
  foo :: a -> Int
  {-# INLINE foo #-}

Now I get the error message:

"The INLINE pragma for default method `foo' lacks an accompanying binding"

Is this change on purpose?

Thanks,
Antoine

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to