Remove hs-source-dirs from test suite #20

Merged
merged 1 commit into from Oct 21, 2012

Projects

None yet

2 participants

@nomeata
nomeata commented Oct 20, 2012

Otherwise the previously compiled library and the source files mix up, causing the test suite to not compile with this error message:

[ 8 of 11] Compiling Language.JavaScript.Parser.Parser ( src/Language/JavaScript/Parser/Parser.hs, dist-ghc/build/test-language-javascript/test-language-javascript-tmp/Language/JavaScript/Parser/Parser.o )

src/Language/JavaScript/Parser/Parser.hs:28:38:
    Couldn't match expected type `Alex AST.JSNode'
                with actual type `language-javascript-0.5.6:Language.JavaScript.Parser.Lexer.Alex
                                    Language.JavaScript.Parser.AST.JSNode'
    In the second argument of `runAlex', namely `parseProgram'
    In the expression: runAlex input parseProgram
    In an equation for `parse':
        parse input _srcName = runAlex input parseProgram
make: *** [build-ghc-stamp] Error 1
@nomeata nomeata Remove hs-source-dirs from test suite
Otherwise the previously compiled library and the source files mix up, causing the test suite to not compile with this error message:
```
[ 8 of 11] Compiling Language.JavaScript.Parser.Parser ( src/Language/JavaScript/Parser/Parser.hs, dist-ghc/build/test-language-javascript/test-language-javascript-tmp/Language/JavaScript/Parser/Parser.o )

src/Language/JavaScript/Parser/Parser.hs:28:38:
    Couldn't match expected type `Alex AST.JSNode'
                with actual type `language-javascript-0.5.6:Language.JavaScript.Parser.Lexer.Alex
                                    Language.JavaScript.Parser.AST.JSNode'
    In the second argument of `runAlex', namely `parseProgram'
    In the expression: runAlex input parseProgram
    In an equation for `parse':
        parse input _srcName = runAlex input parseProgram
make: *** [build-ghc-stamp] Error 1
```
04e0275
@alanz alanz merged commit 2ee7754 into erikd:master Oct 21, 2012

1 check passed

Details default The Travis build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment