<!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;">
sheaf pushed to branch wip/T24359 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/146af81ed027cf4cea42bf7f8a52972c9ea971f6">146af81e</a></strong>
<div>
<span> by sheaf </span> <i> at 2024-12-02T13:29:16+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;'>Specialise expressions: polishing
This commit:
- adds flags -Wdeprecated-pragmas and -Wuseless-specialisations,
- uses -Wdeprecated-pragmas to control the warning when using old-style
SPECIALISE pragmas with multiple type ascriptions,
- uses -Wuseless-specialisations to control the warning emitted when
GHC determines that a SPECIALISE pragma would have no effect,
- makes GHC continue to generate seemingly useless SPECIALISE pragmas,
as per user request (see new test T25389),
- adds deprecations to Template Haskell `pragSpecD` and `pracSpecInlD`,
- adds mention of the changes to the 9.14 release notes as well as
the Template Haskell changelog,
</pre>
</li>
</ul>
<h4 style="margin-top: 10px; margin-bottom: 10px;">
30 changed files:
</h4>
<ul>
<li class="file-stats">
<a href="#2e5692f568fd7b67a6b172e2a60469da8392508c">
compiler/GHC/Driver/Flags.hs
</a>
</li>
<li class="file-stats">
<a href="#774d88050336ef660c7a219fb06c480c2fc639bc">
compiler/GHC/Driver/Session.hs
</a>
</li>
<li class="file-stats">
<a href="#65e2067fbb7377818b6cadff0531f44029499948">
compiler/GHC/HsToCore/Binds.hs
</a>
</li>
<li class="file-stats">
<a href="#cf4176c2d1c1c5ac2d46a9fa5fe02a24bc407c3c">
compiler/GHC/HsToCore/Errors/Ppr.hs
</a>
</li>
<li class="file-stats">
<a href="#6eaba7424490cb26d74e0dab0f6fd7bc3537dca7">
compiler/GHC/HsToCore/Errors/Types.hs
</a>
</li>
<li class="file-stats">
<a href="#4769efc0cb06e92bc7562e31984f6d7d91048e51">
compiler/GHC/Parser/Errors/Ppr.hs
</a>
</li>
<li class="file-stats">
<a href="#6bd0eb7fd0a01f3d8cf2efe3f1d026d2145cf10b">
compiler/GHC/Parser/Errors/Types.hs
</a>
</li>
<li class="file-stats">
<a href="#446cb12ca6cefaf1c6eb79b7db643632744263c7">
compiler/GHC/Parser/PostProcess.hs
</a>
</li>
<li class="file-stats">
<a href="#cdba811872892f235fe7059df1a6c538fba60816">
compiler/GHC/Tc/Errors/Types.hs
</a>
</li>
<li class="file-stats">
<a href="#e2c828ee9e003df518a07b05beaa6971e5c62eb0">
compiler/GHC/Types/Error/Codes.hs
</a>
</li>
<li class="file-stats">
<a href="#0d674271b5e602f8c38b813c8c42593afce96a1b">
compiler/GHC/Types/Hint.hs
</a>
</li>
<li class="file-stats">
<a href="#5543c5c6c25dc2d751debfc3bc1be17365251351">
compiler/GHC/Types/Hint/Ppr.hs
</a>
</li>
<li class="file-stats">
<a href="#00df6c149812cb8e21335d2ec26d0f24bdf1e441">
compiler/Language/Haskell/Syntax/Binds.hs
</a>
</li>
<li class="file-stats">
<a href="#3000f72e31f633a1742a9c76be14862281166b11">
docs/users_guide/9.14.1-notes.rst
</a>
</li>
<li class="file-stats">
<a href="#000b1e763c4e401bf1b71920b9bb2a87a5f41be4">
libraries/ghc-internal/src/GHC/Internal/TH/Lib.hs
</a>
</li>
<li class="file-stats">
<a href="#661b43655578566ae0a6ab55b6f670b1de666aa5">
libraries/ghc-internal/src/GHC/Internal/TH/Syntax.hs
</a>
</li>
<li class="file-stats">
<a href="#ee61d093f9c845475278836990fdde8877a1de02">
libraries/template-haskell/changelog.md
</a>
</li>
<li class="file-stats">
<a href="#2576d273556f3c6af6a44c20f26fdce3e3bbc9ec">
testsuite/tests/interface-stability/template-haskell-exports.stdout
</a>
</li>
<li class="file-stats">
<a href="#32fcae3cd84d603814eff047af76ee741fa06b13">
<span class="new-file">
+
testsuite/tests/simplCore/should_compile/T25389.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#fc07c260b75644727a8cdc1af5c861a44d4bfb5e">
testsuite/tests/simplCore/should_compile/all.T
</a>
</li>
<li class="file-stats">
<a href="#7afd261b4f98012d26b67543772cadb4a07e56db">
testsuite/tests/th/T19363.stdout
</a>
</li>
<li class="file-stats">
<a href="#e39b1eb9b9504771f26cb874591754e5f72cd6a3">
testsuite/tests/th/T7064.stdout
</a>
</li>
<li class="file-stats">
<a href="#ecba085db9cfa074d8ade4b714971e7dd846cacf">
<span class="new-file">
+
testsuite/tests/typecheck/should_compile/SpecPragmas.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#2ef0fea1fdddb0ac774ffa8891ba7d610fda164b">
<span class="new-file">
+
testsuite/tests/typecheck/should_fail/SpecPragmasFail.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#add8242e4daa8c69ac2b6284d5e12144c5aab3b3">
<span class="new-file">
+
testsuite/tests/typecheck/should_fail/SpecPragmasFail.stderr
</span>
</a>
</li>
<li class="file-stats">
<a href="#a0794e0113c0c80aedb2fa23ac8d66af113681e5">
<span class="new-file">
+
testsuite/tests/warnings/should_compile/SpecMultipleTys.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#9d063b41a9f2ec985c8a11faff01c624934d15bc">
<span class="new-file">
+
testsuite/tests/warnings/should_compile/SpecMultipleTys.stderr
</span>
</a>
</li>
<li class="file-stats">
<a href="#41a913dca0020ecd1ca28a364e1f9aa46db04c5a">
testsuite/tests/warnings/should_compile/all.T
</a>
</li>
<li class="file-stats">
<a href="#688fd47750a98395a49436f2b3b3a3a92ebd5376">
<span class="new-file">
+
testsuite/tests/warnings/should_fail/SpecEMultipleTys.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#201b356a3454ffee1044d9bdf62504605696cc45">
<span class="new-file">
+
testsuite/tests/warnings/should_fail/SpecEMultipleTys.stderr
</span>
</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/146af81ed027cf4cea42bf7f8a52972c9ea971f6">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/146af81ed027cf4cea42bf7f8a52972c9ea971f6"}}</script>
</p>
</div>
</body>
</html>