
On 5/2/07, Simon Marlow
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
main/GHC.hs:2230:54:
Couldn't match expected type `InteractiveContext'
against inferred type `[Name]'
In the `hsc_IC' field of a record
In the second argument of `writeIORef', namely
`hsc_env {hsc_IC = final_ic}'
In the expression: writeIORef ref (hsc_env {hsc_IC = final_ic})
main/GHC.hs:2270:26:
Constructor `ResumeHandle' should have 7 arguments, but has been given 6
In the pattern:
ResumeHandle breakMVar
statusMVar
final_names
final_ic
resume_ic
names
In the definition of `resume':
resume (Session ref)
(res@(ResumeHandle breakMVar
statusMVar
final_names
final_ic
resume_ic
names))
= do hsc_env <- readIORef ...
writeIORef ... (...)
....
<