<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<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: -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: -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 wip/marge_bot_batch_merge_job at <a href="https://gitlab.haskell.org/ghc/ghc" style="color: #1068bf;">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/d91db67928d1478589d98e349954800dc9a04a34" style="color: #1068bf;">d91db679</a></strong>
<div>
<span> by Matthew Pickering </span> <i> at 2022-11-14T16:48:10-05:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "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: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>testsuite: Add tests for T22347
These are fixed in recent versions but might as well add regression
tests.
See #22347
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/8f6c576b0b9b82acf23c51ae8cb3c6e5bde61ab4" style="color: #1068bf;">8f6c576b</a></strong>
<div>
<span> by Matthew Pickering </span> <i> at 2022-11-14T16:48:45-05:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "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: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>testsuite: Improve output from tests which have failing pre_cmd
There are two changes:
* If a pre_cmd fails, then don't attempt to run the test.
* If a pre_cmd fails, then print the stdout and stderr from running that
command (which hopefully has a nice error message).
For example:
```
=====> 1 of 1 [0, 0, 0]
*** framework failure for test-defaulting-plugin(normal) pre_cmd failed: 2
** pre_cmd was "$MAKE -s --no-print-directory -C defaulting-plugin package.test-defaulting-plugin TOP={top}".
stdout:
stderr:
DefaultLifted.hs:19:13: error: [GHC-76037]
Not in scope: type constructor or class ‘Typ’
Suggested fix:
Perhaps use one of these:
‘Type’ (imported from GHC.Tc.Utils.TcType),
data constructor ‘Type’ (imported from GHC.Plugins)
|
19 | instance Eq Typ where
| ^^^
make: *** [Makefile:17: package.test-defaulting-plugin] Error 1
Performance Metrics (test environment: local):
```
Fixes #22329
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/16ca92cfdab8b27d39eb899c0ef0aea5e80e6ab2" style="color: #1068bf;">16ca92cf</a></strong>
<div>
<span> by Madeline Haraj </span> <i> at 2022-11-14T17:19:30-05:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "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: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>Implement UNPACK support for sum types.
This is based on osa's unpack_sums PR from ages past.
The meat of the patch is implemented in dataConArgUnpackSum
and described in Note [UNPACK for sum types].
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/f5f850b9901cd270e2b418d4d21b15d766c32051" style="color: #1068bf;">f5f850b9</a></strong>
<div>
<span> by Andreas Klebinger </span> <i> at 2022-11-14T17:19:31-05:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "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: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>Expand on the need to clone local binders.
Fixes #22402.
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/dbefb3f64f262987e9a77432fa946198f221d2ca" style="color: #1068bf;">dbefb3f6</a></strong>
<div>
<span> by Krzysztof Gogolewski </span> <i> at 2022-11-14T17:19:32-05:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.8125rem; color: #303030; position: relative; font-family: "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: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dbdbdb;'>Fix :i Constraint printing "type Constraint = Constraint"
Since Constraint became a synonym for CONSTRAINT 'LiftedRep,
we need the same code for handling printing as for the synonym
Type = TYPE 'LiftedRep.
This addresses the same bug as #18594, so I'm reusing the test.
</pre>
</li>
</ul>
<h4 style="margin-top: 10px; margin-bottom: 10px;">
30 changed files:
</h4>
<ul>
<li class="file-stats">
<a href="#35cff95f9f44690fc50b44bbe8ac3c554c7d5a5e" style="color: #1068bf;">
compiler/GHC/Core/Make.hs
</a>
</li>
<li class="file-stats">
<a href="#aa79261abf782f3dc603af7fbd5c4b08ed3ddb88" style="color: #1068bf;">
compiler/GHC/Core/Opt/ConstantFold.hs
</a>
</li>
<li class="file-stats">
<a href="#a5d27de4e3111a69f69902c65ecf7b3379f7c49a" style="color: #1068bf;">
compiler/GHC/CoreToStg/Prep.hs
</a>
</li>
<li class="file-stats">
<a href="#6bdd5abc649727f2a802bc96ce5c276de19d3726" style="color: #1068bf;">
compiler/GHC/HsToCore/Expr.hs
</a>
</li>
<li class="file-stats">
<a href="#079d6b28856775716c78fdd4a4b35bb45a59002c" style="color: #1068bf;">
compiler/GHC/Iface/Syntax.hs
</a>
</li>
<li class="file-stats">
<a href="#f2b2b84d138b362920ab9f144f58bf16254aab64" style="color: #1068bf;">
compiler/GHC/Iface/Type.hs
</a>
</li>
<li class="file-stats">
<a href="#70833f77ce0aa007d80f4e286d811c58721cdc0b" style="color: #1068bf;">
compiler/GHC/Stg/Subst.hs
</a>
</li>
<li class="file-stats">
<a href="#261c0c5029eb34eb7436b087d77314f377ff8223" style="color: #1068bf;">
compiler/GHC/Types/Id/Make.hs
</a>
</li>
<li class="file-stats">
<a href="#878399d76e594ee2194b99baaccd7b67e9740bb1" style="color: #1068bf;">
docs/users_guide/exts/pragmas.rst
</a>
</li>
<li class="file-stats">
<a href="#c591f85f122007bac88228c5ff6fd76b40e6a811" style="color: #1068bf;">
testsuite/driver/testlib.py
</a>
</li>
<li class="file-stats">
<a href="#159e4d144e471a655a8e91241154ba26d327c857" style="color: #1068bf;">
testsuite/tests/ghci/should_run/T18594.script
</a>
</li>
<li class="file-stats">
<a href="#521c51a3dce743bc57374150d00df600616a2db5" style="color: #1068bf;">
testsuite/tests/ghci/should_run/T18594.stdout
</a>
</li>
<li class="file-stats">
<a href="#5cc25a32be7602fa580f15917c5bf8d494f472d5" style="color: #1068bf;">
<span class="new-file">
+
testsuite/tests/simplCore/should_compile/T22347.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#24b807eae097b43d77cf27a0fac0463d46790640" style="color: #1068bf;">
<span class="new-file">
+
testsuite/tests/simplCore/should_compile/T22347a.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#fc07c260b75644727a8cdc1af5c861a44d4bfb5e" style="color: #1068bf;">
testsuite/tests/simplCore/should_compile/all.T
</a>
</li>
<li class="file-stats">
<a href="#7c71008561f896abe9803f2d3da4976d49d0f7df" style="color: #1068bf;">
<span class="new-file">
+
testsuite/tests/unboxedsums/Makefile
</span>
</a>
</li>
<li class="file-stats">
<a href="#f829489a82696637aa2035c6dc435892f02a7652" style="color: #1068bf;">
testsuite/tests/unboxedsums/all.T
</a>
</li>
<li class="file-stats">
<a href="#fa597bb8cdef52a3f1a892dc81cfff78a28cf192" style="color: #1068bf;">
<span class="new-file">
+
testsuite/tests/unboxedsums/unpack_sums_1.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#68428658b29d76f7a46f99f1d50ce970490096c3" style="color: #1068bf;">
<span class="new-file">
+
testsuite/tests/unboxedsums/unpack_sums_1.stdout
</span>
</a>
</li>
<li class="file-stats">
<a href="#66a2697e0a0b7ad53eeb5a312dacb59496dbba69" style="color: #1068bf;">
<span class="new-file">
+
testsuite/tests/unboxedsums/unpack_sums_2.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#0a2f07798638a958e8e6aa9adb2f6f86cdd36c15" style="color: #1068bf;">
<span class="new-file">
+
testsuite/tests/unboxedsums/unpack_sums_3.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#6ffa2c19120e56e0655992dbe6525620b66a5f6c" style="color: #1068bf;">
<span class="new-file">
+
testsuite/tests/unboxedsums/unpack_sums_4.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#573bcb3ae8d9201cf362b990cf6d4c10a25720bc" style="color: #1068bf;">
<span class="new-file">
+
testsuite/tests/unboxedsums/unpack_sums_4.stdout
</span>
</a>
</li>
<li class="file-stats">
<a href="#f3533986baf1d282cdcef45c646c136d7947d227" style="color: #1068bf;">
<span class="new-file">
+
testsuite/tests/unboxedsums/unpack_sums_5.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#118ddd01bc0f26de1c40cc97907ec999e7f4829a" style="color: #1068bf;">
<span class="new-file">
+
testsuite/tests/unboxedsums/unpack_sums_5.stderr
</span>
</a>
</li>
<li class="file-stats">
<a href="#6a24d2df195e8cf5079187108890381a70b2f730" style="color: #1068bf;">
<span class="new-file">
+
testsuite/tests/unboxedsums/unpack_sums_6.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#9c1a81ff3546cbcb4e5c86aa65b51b1b168f7ece" style="color: #1068bf;">
<span class="new-file">
+
testsuite/tests/unboxedsums/unpack_sums_6.stdout
</span>
</a>
</li>
<li class="file-stats">
<a href="#ca4b898c2dc8fdcb6f79ea74462dc74a79b6e6a3" style="color: #1068bf;">
<span class="new-file">
+
testsuite/tests/unboxedsums/unpack_sums_7.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#bf770b281575102f45eb7d55b5d8d9944dd13f76" style="color: #1068bf;">
<span class="new-file">
+
testsuite/tests/unboxedsums/unpack_sums_7.stderr
</span>
</a>
</li>
<li class="file-stats">
<a href="#1686cab07094f05120042251eaf222f1b63d7d14" style="color: #1068bf;">
<span class="new-file">
+
testsuite/tests/unboxedsums/unpack_sums_8.hs
</span>
</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: #666;">
—
<br>
<a href="https://gitlab.haskell.org/ghc/ghc/-/compare/eda1aa2803a5aa16955cc28f71240792b6466e3f...dbefb3f64f262987e9a77432fa946198f221d2ca" style="color: #1068bf;">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" style="color: #1068bf;">gitlab.haskell.org</a>. <a href="https://gitlab.haskell.org/-/profile/notifications" target="_blank" rel="noopener noreferrer" class="mng-notif-link" style="color: #1068bf;">Manage all notifications</a> · <a href="https://gitlab.haskell.org/help" target="_blank" rel="noopener noreferrer" class="help-link" style="color: #1068bf;">Help</a>
</p>
</div>
</body>
</html>