<!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, "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: 0.875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,0.01) 0 0 1px;
}
body {
font-family: var(--default-regular-font, -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,0.01) 0 0 1px; font-family: var(--default-regular-font, -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;">
Marge Bot pushed to branch master 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: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/5ae81842d36a6091b406bfce98c60e8a7fa24240">5ae81842</a></strong>
<div>
<span> by sheaf </span> <i> at 2023-05-15T14:49:17-04:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.875rem; color: #333238; position: relative; font-family: var(--default-mono-font, "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;'>Improve "ambiguous occurrence" error messages
This error was sometimes a bit confusing, especially when data families
were involved. This commit improves the general presentation of the
"ambiguous occurrence" error, and adds a bit of extra context in the
case of data families.
Fixes #23301
</pre>
</li>
</ul>
<h4 style="margin-top: 10px; margin-bottom: 10px;">
30 changed files:
</h4>
<ul>
<li class="file-stats">
<a href="#939d24c1002dc322659c1f67c9f3d2db2ae31dd4">
compiler/GHC/Rename/Utils.hs
</a>
</li>
<li class="file-stats">
<a href="#1dd9c7a6bbc222c976a6ec1c4b772232ae60f7e5">
compiler/GHC/Tc/Errors/Ppr.hs
</a>
</li>
<li class="file-stats">
<a href="#cdba811872892f235fe7059df1a6c538fba60816">
compiler/GHC/Tc/Errors/Types.hs
</a>
</li>
<li class="file-stats">
<a href="#e65390fa5a32c453a81a1c9a3e1c4464d155ca4a">
compiler/GHC/Tc/Module.hs
</a>
</li>
<li class="file-stats">
<a href="#d3cf57b6a5ebc234dc7689db38ef9b6cf2259c0f">
compiler/GHC/Utils/Outputable.hs
</a>
</li>
<li class="file-stats">
<a href="#92ba0c210c34fe6eef565f4a85f06d18b96f9a91">
testsuite/tests/module/mod110.stderr
</a>
</li>
<li class="file-stats">
<a href="#a3fa6f9a541344c02a6103bc4be89e4a6b3b0e43">
testsuite/tests/module/mod151.stderr
</a>
</li>
<li class="file-stats">
<a href="#e5aa233731e2fa28101ae4cd1c59dee9012f00ea">
testsuite/tests/module/mod152.stderr
</a>
</li>
<li class="file-stats">
<a href="#5504a9447935fb91e9daad24a7c944a94fde4b60">
testsuite/tests/module/mod153.stderr
</a>
</li>
<li class="file-stats">
<a href="#8fd07812a551f2b2b243b0d93e38525eb6aefb6c">
testsuite/tests/module/mod164.stderr
</a>
</li>
<li class="file-stats">
<a href="#e29a8c16ccf95a51138e7bd219813ad79b121ffc">
testsuite/tests/module/mod165.stderr
</a>
</li>
<li class="file-stats">
<a href="#fe14e00cd7bce9fc21c9c1a3a471476237006c3d">
testsuite/tests/overloadedrecflds/ghci/GHCiDRF.stdout
</a>
</li>
<li class="file-stats">
<a href="#c4da7eea0c19282bb76f5430b397b8acbdf400f5">
testsuite/tests/overloadedrecflds/ghci/duplicaterecfldsghci01.stdout
</a>
</li>
<li class="file-stats">
<a href="#48f1ea8e462ab6ff79314de3f93c8f0f1966f470">
testsuite/tests/overloadedrecflds/should_compile/BootFldReexport.stderr
</a>
</li>
<li class="file-stats">
<a href="#a280783a6e7a12a97780679f52c44683cc574691">
testsuite/tests/overloadedrecflds/should_fail/DRFUnused.stderr
</a>
</li>
<li class="file-stats">
<a href="#eee47a488e39adef5ece08c6bb796d7308061310">
testsuite/tests/overloadedrecflds/should_fail/NoFieldSelectorsFail.stderr
</a>
</li>
<li class="file-stats">
<a href="#8a9d0efccc58b03ed59162d203e31c3525e1bd10">
testsuite/tests/overloadedrecflds/should_fail/T11167_ambiguous_fixity.stderr
</a>
</li>
<li class="file-stats">
<a href="#ac26994c0a66aa479f97cb711c80ccbd1da33e0d">
testsuite/tests/overloadedrecflds/should_fail/T13132_duplicaterecflds.stderr
</a>
</li>
<li class="file-stats">
<a href="#133409c18f5149e043f86b1e8b24dce81378f97e">
testsuite/tests/overloadedrecflds/should_fail/T16745.stderr
</a>
</li>
<li class="file-stats">
<a href="#25f1c90f45fc02c3f97035e713677a19667889c7">
testsuite/tests/overloadedrecflds/should_fail/T17420.stderr
</a>
</li>
<li class="file-stats">
<a href="#64bf42e5981065296deb1c4047690fa52bb6cb79">
testsuite/tests/overloadedrecflds/should_fail/T18999_NoDisambiguateRecordFields.stderr
</a>
</li>
<li class="file-stats">
<a href="#b338f33d03ca538256a2dc688c95d569a1ed4c03">
testsuite/tests/overloadedrecflds/should_fail/T23010_fail.stderr
</a>
</li>
<li class="file-stats">
<a href="#44bc93121e22c556c28dc11638950e5bcb93e2e6">
testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail02.stderr
</a>
</li>
<li class="file-stats">
<a href="#1be63cc0dbf9c35b08ddad70a61091100227abdb">
testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail04.stderr
</a>
</li>
<li class="file-stats">
<a href="#f689780d0907237311f7a8440f04c30e9061ece1">
testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail11.stderr
</a>
</li>
<li class="file-stats">
<a href="#e7e5b1d386dcab1a6a8017c6735ecb264e5f2356">
testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail12.stderr
</a>
</li>
<li class="file-stats">
<a href="#7cbd88e786d3bfed67e8f76c5a84d83daabef847">
testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail13.stderr
</a>
</li>
<li class="file-stats">
<a href="#b11ec82856c96e0b59ae40473bf22c554ecb180d">
testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldswasrunnowfail06.stderr
</a>
</li>
<li class="file-stats">
<a href="#fa2f1253862c249d5542915479d4b0f9f6d6c7e2">
testsuite/tests/rename/should_fail/T11167_ambig.stderr
</a>
</li>
<li class="file-stats">
<a href="#07b4411c8b171ab469342e6a0cc45f5c2a46c27f">
testsuite/tests/rename/should_fail/T15487.stderr
</a>
</li>
</ul>
<h5 style="margin-top: 10px; margin-bottom: 10px; font-size: 0.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/5ae81842d36a6091b406bfce98c60e8a7fa24240">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/5ae81842d36a6091b406bfce98c60e8a7fa24240"}}</script>
</p>
</div>
</body>
</html>