Commit 2258a293 authored by Ben Gamari's avatar Ben Gamari 🐢

testsuite: Fix MonadFail test output for new ST instance

parent a83f17e4
......@@ -33,19 +33,6 @@ MonadFailErrors.hs:30:5: error:
= do Just x <- undefined
undefined
MonadFailErrors.hs:44:5: error:
• No instance for (MonadFail (ST s))
arising from a do statement
with the failable pattern ‘Just x’
• In a stmt of a 'do' block: Just x <- undefined
In the expression:
do Just x <- undefined
undefined
In an equation for ‘st’:
st
= do Just x <- undefined
undefined
MonadFailErrors.hs:51:5: error:
• No instance for (MonadFail ((->) r))
arising from a do statement
......
......@@ -33,19 +33,6 @@ MonadFailWarnings.hs:35:5: warning: [-Wmissing-monadfail-instances (in -Wcompat)
= do Just x <- undefined
undefined
MonadFailWarnings.hs:51:5: warning: [-Wmissing-monadfail-instances (in -Wcompat)]
• No instance for (MonadFail (ST s))
arising from the failable pattern ‘Just x’
(this will become an error in a future GHC release)
• In a stmt of a 'do' block: Just x <- undefined
In the expression:
do Just x <- undefined
undefined
In an equation for ‘st’:
st
= do Just x <- undefined
undefined
MonadFailWarnings.hs:59:5: warning: [-Wmissing-monadfail-instances (in -Wcompat)]
• No instance for (MonadFail ((->) r))
arising from the failable pattern ‘Just x’
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment