[GHC] #7147: programatica fails to compile
GHC
cvs-ghc at haskell.org
Tue Aug 14 16:58:37 CEST 2012
#7147: programatica fails to compile
---------------------------------------+------------------------------------
Reporter: maeder | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.6.1-rc1 | Keywords:
Os: Solaris | Architecture: x86
Failure: GHC rejects valid program | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------------+------------------------------------
{{{
-bash-3.00$ cabal install http://www.dfki.de/sks/hets/src-
distribution/programatica-1.0.0.4.tar.gz
Downloading
http://www.dfki.de/sks/hets/src-distribution/programatica-1.0.0.4.tar.gz
Resolving dependencies...
Configuring programatica-1.0.0.4...
Building programatica-1.0.0.4...
Preprocessing library programatica-1.0.0.4...
[ 1 of 223] Compiling TokenTags ( base/pretty/TokenTags.hs,
dist/build/TokenTags.o )
...
[141 of 223] Compiling DefinedNamesBase ( base/defs/DefinedNamesBase.hs,
dist/build/DefinedNamesBase.o )
base/defs/DefinedNamesBase.hs:22:48:
No instance for (AddName
(ghc-prim:GHC.Prim.Any *) (SyntaxRec.BaseDeclI i))
arising from a use of `addNameRec'
Possible fix:
add an instance declaration for
(AddName (ghc-prim:GHC.Prim.Any *) (SyntaxRec.BaseDeclI i))
In the expression: addNameRec
In an equation for `addName': addName = addNameRec
In the instance declaration for `AddName i (HsDeclI i)'
cabal: Error: some packages failed to install:
programatica-1.0.0.4 failed during the building phase. The exception was:
ExitFailure 1
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7147>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list