
When building hat with ghc-5.04 I got the following error: ghc -package-name hat -package lang -fglasgow-exts -fno-warn-overlapping-patterns -fno-warn-missing-methods -cpp -c -o /usr/freebsdcvs/ports/devel/hat/work/hat-2.00/targets/ix86-FreeBSD/obj/hatlib/ghc/TPreludeBasic.o TPreludeBasic.hs /usr/freebsdcvs/ports/devel/hat/work/hat-2.00/script/hat-trans -trusted -prelude PreludeTracing.hs Fail: Cannot parse in .hx file PreludeBasic line (Var "seq",Value {args=-1, fixity=R, priority=0, letBound=True}) gmake[1]: *** [/usr/freebsdcvs/ports/devel/hat/work/hat-2.00/targets/ix86-FreeBSD/obj/hatlib/ghc/TPrelude.o] Error 1 gmake[1]: Leaving directory `/usr/freebsdcvs/ports/devel/hat/work/hat-2.00/src/hat/lib' gmake: *** [targets/ix86-FreeBSD/hat-lib-ghc] Error 2 *** Error code 2 Regards, Olli -- IST & IIS _ INF _ UniBwM _____ http://ist.unibw-muenchen.de/People/obraun/ Tele-Consulting GmbH _________ http://www.tele-consulting.com/ ___ obraun@ FreeBSD: The Power To Serve __ http://www.freebsd.org/ ___________________

When building hat with ghc-5.04 I got the following error:
/usr/freebsdcvs/ports/devel/hat/work/hat-2.00/script/hat-trans -trusted -prelude PreludeTracing.hs
Fail: Cannot parse in .hx file PreludeBasic line (Var "seq",Value {args=-1, fixity=R, priority=0, letBound=True})
Curious. The field 'args' is lexically incorrect, it should be args=(-1) but my version of hat-trans (built with ghc-5.02.2) generates it correctly. In response to your report, I have just attempted to rebuild hat with ghc-5.04, and sure enough, it fails with the same error. Thus, it would appear that the program (hat-trans) compiled with 5.04 exhibits different behaviour from the same program compiled with 5.02.2. So I would guess that this is a bug in GHC, not in Hat. Regards, Malcolm
participants (2)
-
Malcolm Wallace
-
Oliver Braun