Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
b9c1ef5e
Commit
b9c1ef5e
authored
Jul 31, 2008
by
Ian Lynagh
Browse files
Give a type signature in the break024 test
Avoids an ambiguous type variable with extensible extensions
parent
6e1b38c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/ghci.debugger/scripts/break024.hs
View file @
b9c1ef5e
import
Control.Exception
as
CE
exception_uncaught
=
ioError
(
userError
"error"
)
exception_caught
=
CE
.
try
exception_uncaught
\ No newline at end of file
exception_caught
=
CE
.
try
exception_uncaught
::
IO
(
Either
CE
.
ErrorCall
()
)
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment