projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0416c6e
)
[project @ 2000-06-09 13:48:09 by simonmar]
author
simonmar
<unknown>
Fri, 9 Jun 2000 13:48:09 +0000
(13:48 +0000)
committer
simonmar
<unknown>
Fri, 9 Jun 2000 13:48:09 +0000
(13:48 +0000)
Guard failure will now throw a PatternMatchFail, the
NonExhaustiveGuards exception is to be removed.
ghc/tests/lib/should_run/exceptions001.hs
patch
|
blob
|
history
diff --git
a/ghc/tests/lib/should_run/exceptions001.hs
b/ghc/tests/lib/should_run/exceptions001.hs
index
4e28e94
..
3332008
100644
(file)
--- a/
ghc/tests/lib/should_run/exceptions001.hs
+++ b/
ghc/tests/lib/should_run/exceptions001.hs
@@
-41,7
+41,7
@@
test1 [] = ()
guardTest = catchAllIO (case test2 of () -> return ())
(\ex -> case ex of
- NonExhaustiveGuards err -> putStr err
+ PatternMatchFail err -> putStr err
other -> error "help!")
test2 | all (==0) [1] = ()