On Sat, Aug 13, 2011 at 12:29 PM, <[email protected]> wrote: > 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. >
I'll admit that only applying to default methods is a lot more sensible that what I had been imagining. But for some reason I had thought that what I was doing was specifically supposed to work at some point. Antoine > ~d > > Quoting Antoine Latter <[email protected]>: > >> 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 >> [email protected] >> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users >> >> > > > > _______________________________________________ > Glasgow-haskell-users mailing list > [email protected] > http://www.haskell.org/mailman/listinfo/glasgow-haskell-users > _______________________________________________ Glasgow-haskell-users mailing list [email protected] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
