alanz/language-javascript — pull request #20 by nomeata (2012-10-20 15:52:33+00:00)
Title: 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
```