Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test/QuickCheck/All.hs: fix 'quickCheckAll' to read haskell sources i…
…n UTF-8 Today I've got an Agda build failure on a box running LANG=C locale (UTF-8 incapable). examples/Heap.hs:151:10: Exception when trying to run compile-time code: examples/Heap.hs: hGetContents: invalid argument (invalid byte sequence) Code: quickCheckAll In the expression: $quickCheckAll In an equation for `main': main = $quickCheckAll It's a common error of a 'readFile' assuming locale input. Fixed to read in UTF-8 in recent GHCs. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
- Loading branch information
Sergei Trofimovich
committed
Apr 27, 2014
1 parent
9c6635e
commit ccf15ee
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters