Skip to content
Snippets Groups Projects
Commit 59b96e95 authored by Julian Seward's avatar Julian Seward
Browse files

[project @ 1999-11-23 10:32:37 by sewardj]

Fix typo in exitWith.
parent 797f0699
No related branches found
No related tags found
No related merge requests found
...@@ -217,7 +217,7 @@ fromExitCode (ExitFailure n) = n ...@@ -217,7 +217,7 @@ fromExitCode (ExitFailure n) = n
-- see comment in Prelude.hs near primRunIO_hugs_toplevel -- see comment in Prelude.hs near primRunIO_hugs_toplevel
exitWith :: ExitCode -> IO a exitWith :: ExitCode -> IO a
exitWith c exitWith c
= do cleanup_action <- readIORef prelExitWithAction = do cleanup_action <- readIORef prelCleanupAfterRunAction
case cleanup_action of case cleanup_action of
Just xx -> xx Just xx -> xx
Nothing -> return () Nothing -> return ()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment