patch applied (packages/base): new Control.Category, ghc ticket #1773

Ashley Yakeley ashley at semantic.org
Mon Oct 29 14:42:11 EDT 2007


On Mon, 2007-10-29 at 13:48 +0000, Simon Marlow wrote:
> This broke GHC's build.

Sorry about that. I completely forgot about the testsuite.

> +arrowfail001.hs:15:6:
> +    Can't find interface-file declaration for variable Control.Arrow.>>>
> +      Probable cause: bug in .hi-boot file, or inconsistent .hi file
> +      Use -ddump-if-trace to get an idea of which file caused the error
> +    In the expression: proc x -> case x of Bar a -> foo -< a
> +    In the definition of `get':
> +       get = proc x -> case x of Bar a -> foo -< a
> 
> 
> It appears that GHC is looking for Control.Arrow.>>>, which has moved to 
> Control.Category.  Third issue:

I'm not sure why the tests are looking for Control.Arrow.>>>, which
doesn't exist anymore. I'm doing a full clean & build to see if the
problem goes away.

> =====> tc192(normal)
> cd ./typecheck/should_compile && 
> '/64playpen/simonmar/testing/compiler/stage2/gh
> c-inplace' -no-recomp -dcore-lint -dcmm-lint -Dx86_64_unknown_linux  -c 
> tc192.hs
>     -fno-warn-incomplete-patterns >tc192.comp.stderr 2>&1
> Compile failed (status 256) errors were:
> 
> tc192.hs:25:21: Not in scope: `>>>'
> 
> tc192.hs:40:8: Not in scope: `>>>'
> 
> tc192.hs:48:27: Not in scope: `>>>'
> 
> tc192.hs:50:22: Not in scope: `>>>'
> 
> tc192.hs:54:36: Not in scope: `>>>'
> 
> tc192.hs:141:21: Not in scope: `>>>'
> 
> tc192.hs:141:48: Not in scope: `>>>'

I've pushed a fix for this, but now it has the same Control.Arrow.>>>
issue as the arrow tests.

-- 
Ashley Yakeley
Seattle, WA



More information about the Cvs-libraries mailing list