Error compiling GHC/Num.lhs

Simon Marlow simonmarhaskell at gmail.com
Wed May 2 10:30:25 EDT 2007


Bas van Dijk wrote:
> On 5/2/07, Simon Marlow <simonmarhaskell at gmail.com> wrote:
>> Thanks, I think I've fixed this one now.
> 
> You did indeed, thanks!
> 
> Now I get another error when compiling main/GHC.hs:
> 
> ../compiler/stage1/ghc-inplace -H64m -Onot -fasm -optc-march=athlon64
> -opta-march=athlon64  -istage2/utils  -istage2/basicTypes
> -istage2/types  -istage2/hsSyn  -istage2/prelude  -istage2/rename
> -istage2/typecheck  -istage2/deSugar  -istage2/coreSyn
> -istage2/specialise  -istage2/simplCore  -istage2/stranal
> -istage2/stgSyn  -istage2/simplStg  -istage2/codeGen  -istage2/main
> -istage2/profiling  -istage2/parser  -istage2/cprAnalysis
> -istage2/ndpFlatten  -istage2/iface  -istage2/cmm  -istage2/nativeGen
> -istage2/ghci -Istage2 -DGHCI -package template-haskell
> -DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE
> -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package
> unix -package Cabal -ignore-package lang -recomp -Rghc-timing -Onot
> -fasm -H16M '-#include "cutils.h"' -package-name  ghc-6.7.20070502
> -fgenerics    -c main/GHC.hs -o stage2/main/GHC.o  -ohi
> stage2/main/GHC.hi
> 
> main/GHC.hs:2223:50:
>    Couldn't match expected type `InteractiveContext'
>           against inferred type `[Name]'
>    In the sixth argument of `ResumeHandle', namely `names'
>    In the expression:
>        ResumeHandle
>          breakMVar statusMVar final_names final_ic resume_ic names
>    In the definition of `res':
>        res = ResumeHandle
>                breakMVar statusMVar final_names final_ic resume_ic names

I believe this one is now fixed, sorry about that.

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list