diff options
author | Péter Diviánszky <divipp@gmail.com> | 2016-05-03 19:19:29 +0200 |
---|---|---|
committer | Péter Diviánszky <divipp@gmail.com> | 2016-05-03 19:19:29 +0200 |
commit | d853a6c0f5e027c5e98d96ddd29c21901dd67039 (patch) | |
tree | 5acac233046580343d410f75a815d362c67ecb57 /test | |
parent | f468a49a43193caffe92cdd48a52a699880e14ef (diff) |
better show for let expressions; fix a bug in type class desugaring
Diffstat (limited to 'test')
-rw-r--r-- | test/runTests.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/runTests.hs b/test/runTests.hs index f86c4813..cc21014f 100644 --- a/test/runTests.hs +++ b/test/runTests.hs | |||
@@ -120,6 +120,13 @@ erroneous = (>= TimedOut) | |||
120 | isWip = (".wip" `elem`) . takeExtensions' | 120 | isWip = (".wip" `elem`) . takeExtensions' |
121 | isReject = (".reject" `elem`) . takeExtensions' | 121 | isReject = (".reject" `elem`) . takeExtensions' |
122 | 122 | ||
123 | -- for the repl | ||
124 | parse srcName includePaths = do | ||
125 | pplRes <- parseModule includePaths srcName | ||
126 | case pplRes of | ||
127 | Left err -> fail $ show err | ||
128 | Right ppl -> putStrLn ppl | ||
129 | |||
123 | main :: IO () | 130 | main :: IO () |
124 | main = do | 131 | main = do |
125 | hSetBuffering stdout NoBuffering | 132 | hSetBuffering stdout NoBuffering |