<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en" style='--code-editor-font: var(--default-mono-font, "GitLab Mono"), JetBrains Mono, Menlo, DejaVu Sans Mono, Liberation Mono, Consolas, Ubuntu Mono, Courier New, andale mono, lucida console, monospace;'>
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>

<style data-premailer="ignore" type="text/css">
a { color: #1068bf; }
</style>


<style>img {
max-width: 100%; height: auto;
}
body {
font-size: .875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px;
}
body {
font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size: inherit;
}
</style>
</head>
<body style='font-size: inherit; -webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px; font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";'>
<div class="content">

<h3 style="margin-top: 20px; margin-bottom: 10px;">
Rodrigo Mesquita pushed to branch wip/T24807 at <a href="https://gitlab.haskell.org/ghc/ghc">Glasgow Haskell Compiler / GHC</a>
</h3>
<h4 style="margin-top: 10px; margin-bottom: 10px;">
Commits:
</h4>
<ul>
<li>
<strong style="font-weight: 600;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/5e81a005b836fb256414ddea64c439c251f79206">5e81a005</a></strong>
<div>
<span> by Ben Gamari </span> <i> at 2024-09-24T10:47:06+01:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #28272d; position: relative; font-family: "GitLab Mono","JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>base: Propagate `error` CallStack to thrown exception

Previously `errorCallWithCallStackException` failed to propagate its
`CallStack` argument, which represents the call-chain of the preceding
`error` call, to the exception that it returned. Consequently, the
call-stack of `error` calls were quite useless.

Unfortunately, this is the second time that I have fixed this but it
seems the first must have been lost in rebasing.

Fixes a bug in the implementation of CLC proposal 164
<https://github.com/haskell/core-libraries-committee/issues/164>

Fixes #24807.
</pre>
</li>
</ul>
<h4 style="margin-top: 10px; margin-bottom: 10px;">
30 changed files:
</h4>
<ul>
<li class="file-stats">
<a href="#f595baeef5a4f6e40ab0d654fa17c31a4f4aec73">
docs/users_guide/9.12.1-notes.rst
</a>
</li>
<li class="file-stats">
<a href="#392e9dfd3417e267d708c5ab16536f2994d43745">
libraries/base/changelog.md
</a>
</li>
<li class="file-stats">
<a href="#839c13786b361f4dc01e52a7ac079c768f8e3ae3">
libraries/base/tests/T19288.stderr
</a>
</li>
<li class="file-stats">
<a href="#c74de02ced2b44d062a5adfe321c4e16462f3fe1">
<span class="new-file">
+
libraries/base/tests/T24807.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#dad99a46ecedc43a3b72908bfffdac8a3ff256d5">
<span class="new-file">
+
libraries/base/tests/T24807.stderr
</span>
</a>
</li>
<li class="file-stats">
<a href="#b817c80cbb15890d9a6df41e91d15d7442471f3c">
libraries/base/tests/all.T
</a>
</li>
<li class="file-stats">
<a href="#af30c6b99312124f2098e256a7a9eb43d6d40011">
libraries/ghc-internal/src/GHC/Internal/Exception.hs
</a>
</li>
<li class="file-stats">
<a href="#fb0c13d4f609903a43ce2268d21b37131bfd60e7">
testsuite/tests/arityanal/should_run/T21694a.stderr
</a>
</li>
<li class="file-stats">
<a href="#3b7cf9dd710d62d52d5ebacac539bae7a865e62a">
testsuite/tests/arityanal/should_run/T24296.stderr
</a>
</li>
<li class="file-stats">
<a href="#bd8ccae82ff6ca65b2a728f918bfd43ee74f1c19">
testsuite/tests/codeGen/should_run/T16846.stderr
</a>
</li>
<li class="file-stats">
<a href="#8c4f68c2d51960878b44e3b563454f1c57f6b3e7">
testsuite/tests/codeGen/should_run/T5626.stderr
</a>
</li>
<li class="file-stats">
<a href="#9041b2507e4e100f34b6dae68747841578e25c84">
testsuite/tests/codeGen/should_run/cgrun025.stderr
</a>
</li>
<li class="file-stats">
<a href="#f8bfdf6f64ed855a5d37e94ac4704769024ebe32">
testsuite/tests/codeGen/should_run/cgrun045.stderr
</a>
</li>
<li class="file-stats">
<a href="#edeee27e9e686f213fc9f98c73ef66f69ec867c2">
testsuite/tests/codeGen/should_run/cgrun051.stderr
</a>
</li>
<li class="file-stats">
<a href="#2ed482a0102ecf27e107dea058a747d5d4f1ef49">
testsuite/tests/codeGen/should_run/cgrun059.stderr
</a>
</li>
<li class="file-stats">
<a href="#9fd7694fde7e8bfc314302a80b503dc68bdfa55c">
testsuite/tests/concurrent/should_run/T13330.stderr
</a>
</li>
<li class="file-stats">
<a href="#bf769151085241518276f1f414149e9d09b0fc57">
testsuite/tests/concurrent/should_run/conc021.stderr
</a>
</li>
<li class="file-stats">
<a href="#982a7e95a1cf2e37762e328d8995e2817963fe8b">
testsuite/tests/deSugar/should_run/Or5.stderr
</a>
</li>
<li class="file-stats">
<a href="#c2261b9a3787c1f03b4bda9468fd8c95ab6e0664">
testsuite/tests/deSugar/should_run/T11193.stderr
</a>
</li>
<li class="file-stats">
<a href="#f934d0d3f28b5803830e2d29d10e74196b475a6b">
testsuite/tests/deSugar/should_run/T11572.stderr
</a>
</li>
<li class="file-stats">
<a href="#74b58900d0a3af2e7fe302c88cedc2242bfe2bee">
testsuite/tests/deSugar/should_run/T11601.stderr
</a>
</li>
<li class="file-stats">
<a href="#1ea740cd2fb1acd5db6f0d75779953e42cd4ce83">
testsuite/tests/dmdanal/should_run/T12368.stderr
</a>
</li>
<li class="file-stats">
<a href="#9de26a1daaf13074ea91fa6fadf237e24549cd4a">
testsuite/tests/dmdanal/should_run/T12368a.stderr
</a>
</li>
<li class="file-stats">
<a href="#bdb28e85bee03156051d5502603cd4accb6d0ab2">
testsuite/tests/dmdanal/should_run/T23208.stderr
</a>
</li>
<li class="file-stats">
<a href="#e88ba15f8a757f3a10696d6534cabbe2eb77aac8">
testsuite/tests/dmdanal/should_run/strun002.stderr
</a>
</li>
<li class="file-stats">
<a href="#655831e9ede3a2e2665e41836e5a2ad1d6c20b3f">
testsuite/tests/driver/multipleHomeUnits/multipleHomeUnits_callstack.stderr
</a>
</li>
<li class="file-stats">
<a href="#facd31a8c67c45b4451dcccae7b89f89f84c4e59">
testsuite/tests/ffi/should_run/ffi008.stderr
</a>
</li>
<li class="file-stats">
<a href="#474780e0d2f1cfc339b4853d85c606f65ef4af3e">
testsuite/tests/hpc/simple/tixs/T10529a.stderr
</a>
</li>
<li class="file-stats">
<a href="#a1cfd958ee6355e6b324ef50b2b812786af7bc9f">
testsuite/tests/hpc/simple/tixs/T10529b.stderr
</a>
</li>
<li class="file-stats">
<a href="#482a07427fa545a62fc3e01ec78f74f64b8b0f95">
testsuite/tests/hpc/simple/tixs/T10529c.stderr
</a>
</li>
</ul>
<h5 style="margin-top: 10px; margin-bottom: 10px; font-size: .875rem;">
The diff was not included because it is too large.
</h5>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #737278;">

<br>
<a href="https://gitlab.haskell.org/ghc/ghc/-/commit/5e81a005b836fb256414ddea64c439c251f79206">View it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target="_blank" rel="noopener noreferrer" href="https://gitlab.haskell.org">gitlab.haskell.org</a>. <a href="https://gitlab.haskell.org/-/profile/notifications" target="_blank" rel="noopener noreferrer" class="mng-notif-link">Manage all notifications</a> · <a href="https://gitlab.haskell.org/help" target="_blank" rel="noopener noreferrer" class="help-link">Help</a>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://gitlab.haskell.org/ghc/ghc/-/commit/5e81a005b836fb256414ddea64c439c251f79206"}}</script>


</p>
</div>
</body>
</html>