INLINE pragma changes in 7.2.1
wagnerdm at seas.upenn.edu
wagnerdm at seas.upenn.edu
Sat Aug 13 19:29:04 CEST 2011
The behavior of the compilation part didn't change, GHC just started
complaining about nonsense. See
http://hackage.haskell.org/trac/ghc/ticket/5084 for more information.
~d
Quoting Antoine Latter <aslatter at gmail.com>:
> 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 at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>
>
More information about the Glasgow-haskell-users
mailing list