From 1bfd32e871da8c8bb3163a85c1bd71e93c38af8f Mon Sep 17 00:00:00 2001
From: Ben Gamari <ben@smart-cactus.org>
Date: Mon, 13 May 2024 11:49:59 -0400
Subject: [PATCH] base: Fix changelog reference to setBacktraceMechanismState

(cherry picked from commit b63f7ba01fdfd98a01d2f0dec8d9262b3e595c5d)
---
 libraries/base/changelog.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libraries/base/changelog.md b/libraries/base/changelog.md
index 116ec117487..df7e6c40ae6 100644
--- a/libraries/base/changelog.md
+++ b/libraries/base/changelog.md
@@ -23,7 +23,7 @@
   * Exceptions now capture backtrace information via their `ExceptionContext`. GHC
     supports several mechanisms by which backtraces can be collected which can be
     individually enabled and disabled via
-    `GHC.Exception.Backtrace.setEnabledBacktraceMechanisms`.
+    `GHC.Exception.Backtrace.setBacktraceMechanismState`.
   * Update to [Unicode 15.1.0](https://www.unicode.org/versions/Unicode15.1.0/).
   * Fix `withFile`, `withFileBlocking`, and `withBinaryFile` to not incorrectly annotate exceptions raised in wrapped computation. ([CLC proposal #237](https://github.com/haskell/core-libraries-committee/issues/237))
   * Fix `fdIsNonBlocking` to always be `0` for regular files and block devices on unix, regardless of `O_NONBLOCK`
-- 
GitLab