Andrea Vezzosi pushed to branch wip/romes/async-rpc at Glasgow Haskell Compiler / GHC Commits: a3a21767 by Andrea Vezzosi at 2026-10-26T16:40:53+01:00 interp: wip: let interpProcess survive async exceptions - - - - - 1 changed file: - compiler/GHC/Runtime/Interpreter/Process.hs Changes: ===================================== compiler/GHC/Runtime/Interpreter/Process.hs ===================================== @@ -77,8 +77,10 @@ sendTHComputation i msg reqHandler = mask $ \restore -> do else loop in loop -handleInterpProcessFailure :: InterpProcess -> SomeException -> IO a -handleInterpProcessFailure i e = do +handleInterpProcessFailure :: Interp -> InterpProcess -> SomeException -> IO a +handleInterpProcessFailure interp i e + | Just SomeAsyncException{} <- fromException e = throw e + | otherwise = do let hdl = interpHandle i ex <- getProcessExitCode hdl case ex of View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a3a217670526335a827a72241538f45e... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a3a217670526335a827a72241538f45e... You're receiving this email because of your account on gitlab.haskell.org. Manage all notifications: https://gitlab.haskell.org/-/profile/notifications | Help: https://gitlab.haskell.org/help