Skip to content
Snippets Groups Projects
Commit 2ab2b495 authored by ian@well-typed.com's avatar ian@well-typed.com
Browse files

Export CatchInfo,CatchInfoOnce constructors of Handler

This fixes warnings following
    commit 910a642294eb3547d0cbb3d5735ad81b964f137b
    Author: Simon Peyton Jones <simonpj@microsoft.com>
    Date:   Mon Oct 29 23:25:25 2012 +0000
    Do not treat a constructor in a *pattern* as a *use* of that constructor

I'm not sure if this is the right thing to do: In
    commit 1c4608e3
    Author: Simon Marlow <marlowsd@gmail.com>
    Date:   Thu Feb 19 10:05:32 2009 +0000
    Rewrite of signal-handling.
the commit message says:
    The new implementation has the capability to define signal handlers
    that have access to the siginfo of the signal (#592), but this
    functionality is not exposed in this patch.
but this at least gets validate builds working again, and we can change
it if necessary as part of #2451
parent c35901aa
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,7 @@ module System.Posix.Signals (
#ifdef __GLASGOW_HASKELL__
-- * Handling signals
Handler(Default,Ignore,Catch,CatchOnce),
Handler(Default,Ignore,Catch,CatchOnce,CatchInfo,CatchInfoOnce),
installHandler,
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment