Ticket #246: haddockerror

File haddockerror, 1.6 kB (added by Fūzetsu, 17 months ago)
Line 
1/home/shana/ghcbuild/bin/ghc --make -fbuilding-cabal-package -O -odir dist/build/html-test/html-test-tmp -hidir dist/bu
2ild/html-test/html-test-tmp -stubdir dist/build/html-test/html-test-tmp -i -idist/build/html-test/html-test-tmp -ihtml-
3test -idist/build/autogen -Idist/build/autogen -Idist/build/html-test/html-test-tmp -optP-include -optPdist/build/autog
4en/cabal_macros.h -hide-all-packages -package-db dist/package.conf.inplace -package-id Cabal-1.17.0-7886394015cfdb2ff8e
566682d22c770a -package-id base-4.7.0.0-fe5a17d29c77d17f959a871fef7868cb -package-id directory-1.2.0.1-a0d1cd7ecae0ad875
6c359079423eecf5 -package-id filepath-1.3.0.2-971c89840bd7077c625dd9ea50d779e3 -package-id process-1.2.0.0-4a2a8bb2b1641
7d0d481cf9731dc2642d -XHaskell2010 html-test/run.lhs -o dist/build/html-test/html-test                                 
8[1 of 1] Compiling Main             ( html-test/run.lhs, dist/build/html-test/html-test-tmp/Main.o )
9
10html-test/run.lhs:73:3:
11    Couldn't match expected type ‛(Compiler,
12                                   Maybe Distribution.System.Platform,
13                                   ProgramConfiguration)’
14                with actual type ‛(t0, ProgramConfiguration)’
15    In the pattern: (_, conf)
16    In a stmt of a 'do' block:
17      (_, conf) <- configure
18                     normal (Just ghcPath) Nothing defaultProgramConfiguration
19    In the expression:
20      do { x <- doesFileExist haddockPath;
21           unless x $ die "you need to run 'cabal build' successfully first";
22           contents <- getDirectoryContents testDir;
23           args <- getArgs;
24           .... }