Re: [GHC] #2456: Generics compilation problem: FATAL:Symbol _XJv_srt already defined.
#2456: Generics compilation problem: FATAL:Symbol _XJv_srt already defined. --+- Reporter: ronwalf | Owner: Type: bug | Status: reopened Priority: normal| Milestone: Component: Compiler |Version: 6.9 Severity: normal| Resolution: Keywords:| Difficulty: Unknown Testcase:| Architecture: x86 Os: MacOS X | --+- Comment (by simonpj): I've fixed the original bug of duplicate symbols {{{ Wed Aug 20 13:07:51 GMT Daylight Time 2008 [EMAIL PROTECTED] * Fix Trac #2456: eliminate duplicate bindings when deriving }}} Simon -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2456#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #2456: Generics compilation problem: FATAL:Symbol _XJv_srt already defined.
#2456: Generics compilation problem: FATAL:Symbol _XJv_srt already defined. --+- Reporter: ronwalf | Owner: Type: bug | Status: reopened Priority: normal| Milestone: Component: Compiler |Version: 6.9 Severity: normal| Resolution: Keywords:| Difficulty: Unknown Testcase:| Architecture: x86 Os: MacOS X | --+- Changes (by simonpj): * difficulty: = Unknown Comment: Excellent point. That is bad. I'll fix. Meanwhile, in both cases you have {{{ deriving instance Data (Expr Const) deriving instance Data (Expr Var) }}} Question: do you really want this? You're generating more or less the same code twice. Why not write this? {{{ deriving instance Data a = Data (Expr a) }}} Simon -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2456#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #2456: Generics compilation problem: FATAL:Symbol _XJv_srt already defined.
#2456: Generics compilation problem: FATAL:Symbol _XJv_srt already defined. --+- Reporter: ronwalf | Owner: Type: bug | Status: reopened Priority: normal| Milestone: Component: Compiler |Version: 6.9 Severity: normal| Resolution: Keywords:| Difficulty: Unknown Testcase:| Architecture: x86 Os: MacOS X | --+- Comment (by ronwalf): In this case, (a) has the wrong kind (*-*), so trying that line gives: #WouterTest2.hs:396:39: Kind mis-match Expected kind `* - *', but `a' has kind `*' In the type `Expr a' In the type `(Data a) = Data (Expr a)' In the stand-alone deriving instance for `(Data a) = Data (Expr a)' -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2456#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #2456: Generics compilation problem: FATAL:Symbol _XJv_srt already defined.
#2456: Generics compilation problem: FATAL:Symbol _XJv_srt already defined. -+-- Reporter: ronwalf |Owner: Type: bug | Status: reopened Priority: normal|Milestone: Component: Compiler | Version: 6.8.3 Severity: normal| Resolution: Keywords:| Testcase: Architecture: x86 | Os: MacOS X -+-- Changes (by ronwalf): * status: closed = reopened * resolution: fixed = Comment: I can reproduce this bug with a slightly different file with $ ghc-6.9.20080730 --version The Glorious Glasgow Haskell Compilation System, version 6.9.20080730 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2456#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
[GHC] #2456: Generics compilation problem: FATAL:Symbol _XJv_srt already defined.
#2456: Generics compilation problem: FATAL:Symbol _XJv_srt already defined. +--- Reporter: ronwalf | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 6.8.3|Severity: normal Keywords: |Testcase: Architecture: x86 | Os: MacOS X +--- {{{ $ rm -f DerivingError.o DerivingError.hi; ghc --make DerivingError.hs [1 of 1] Compiling DerivingError( DerivingError.hs, DerivingError.o ) /var/folders/C0/C0SledGV2RaxbU+8ZLDnVU+++TI/-Tmp-//ghc27223_0/ghc27223_0.s:6080:0: FATAL:Symbol _XxG_srt already defined. }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2456 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #2456: Generics compilation problem: FATAL:Symbol _XJv_srt already defined.
#2456: Generics compilation problem: FATAL:Symbol _XJv_srt already defined. -+-- Reporter: ronwalf |Owner: Type: bug | Status: closed Priority: normal|Milestone: Component: Compiler | Version: 6.8.3 Severity: normal| Resolution: fixed Keywords:| Testcase: Architecture: x86 | Os: MacOS X -+-- Changes (by thoughtpolice): * status: new = closed * resolution: = fixed Comment: As discussed on haskell-cafe, it seems this bug doesn't come about as of GHC 6.9.20080720: http://www.haskell.org/pipermail/haskell-cafe/2008-July/045404.html -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2456#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs