
#12027: ghc 8.0rc4 treats INLINE pragmas for methods with default (implicit) definitions as errors -------------------------------------+------------------------------------- Reporter: carter | Owner: Type: bug | Status: new Priority: high | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: GHC rejects | Unknown/Multiple valid program | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by carter): oh just to clarify, the error in ghc 8.0 is {{{ Shape.hs:15:14: error: The INLINE pragma for ‘foldr’ lacks an accompanying binding (The INLINE pragma must be given where ‘foldr’ is declared) }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12027#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler