Skip to content

Error: symbol `Bug_compose1_closure' is already defined

In http://www.haskell.org/pipermail/glasgow-haskell-bugs/2009-October/020608.html Serge reports:

module Bug where

compose :: [a -> a] -> a -> a
compose =  foldr (.) id

class Compose a where
    compose1 :: a -> a -> a
$ ghc -c -O p.hs
/tmp/ghc12944_0/ghc12944_0.s: Assembler messages:

/tmp/ghc12944_0/ghc12944_0.s:22:0:
     Error: symbol `Bug_compose1_closure' is already defined

/tmp/ghc12944_0/ghc12944_0.s:98:0:
     Error: symbol `Bug_compose1_info' is already defined
Trac metadata
Trac field Value
Version 6.13
Type Bug
TypeOfFailure OtherFailure
Priority high
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information