Skip to content

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Dec 4, 2025

🎉 This combination of pull requests has been checked successfully and will be merged soon. 🎉

Branch 3.16 (06b79de) and [#11225 + #11251] are embarked together for merge.

This pull request has been created by Mergify to speculatively check the mergeability of [#11225 + #11251].
You don't need to do anything. Mergify will close this pull request automatically when it is complete.

Required conditions of queue default for merge:

Required conditions to stay in the queue:

---
checking_base_sha: 06b79de39e686147d23f22709087c28100627ff2
previous_failed_batches: []
pull_requests:
  - number: 11225
  - number: 11251
...

geekosaur and others added 4 commits September 28, 2025 18:27
Use the new functionality (which didn't make the changelog) when
available; see #11131. This moves `createTarGzFile` to
`Distribution.Client.Compat.Tar` with a re-export.
Issue 1: In 3.14 there was a poor error when starting a repl in a
project context without any targets. In 3.16, this error regressed, so
cabal just exited cleanly.
Issue 2: The repl was broken when started from a global context.

Issue 1 is fixed by checking to see if there are any user targets, and
issuing a proper error if there are none.

Issue 2 is fixed by specifying the correct fake target which is
constructed when starting the repl in the global context.

Both are reported in #11107 and fixed in this patch.

Co-authored-by: Matthew Pickering <[email protected]>
(cherry picked from commit 5e26932)
@mergify mergify bot closed this Dec 4, 2025
@mergify mergify bot deleted the mergify/merge-queue/4dabd88d12 branch December 4, 2025 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants