From 50798dc68f88afd3a8d480a35a72bc8978d604cd Mon Sep 17 00:00:00 2001
From: Ben Gamari <ben@smart-cactus.org>
Date: Fri, 8 Mar 2024 16:03:31 -0500
Subject: [PATCH] template-haskell: Bump version to 2.22.0.0

---
 compiler/ghc.cabal.in                                | 2 +-
 libraries/exceptions                                 | 2 +-
 libraries/ghci/ghci.cabal.in                         | 2 +-
 libraries/template-haskell/template-haskell.cabal.in | 2 +-
 libraries/text                                       | 2 +-
 testsuite/tests/ghci/scripts/T21110.stderr           | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in
index 012b5dabb64d..a7502bb1f9d5 100644
--- a/compiler/ghc.cabal.in
+++ b/compiler/ghc.cabal.in
@@ -115,7 +115,7 @@ Library
                    containers >= 0.6.2.1 && < 0.8,
                    array      >= 0.1 && < 0.6,
                    filepath   >= 1   && < 1.6,
-                   template-haskell == 2.21.*,
+                   template-haskell == 2.22.*,
                    hpc        >= 0.6 && < 0.8,
                    transformers >= 0.5 && < 0.7,
                    exceptions == 0.10.*,
diff --git a/libraries/exceptions b/libraries/exceptions
index b1cbf778844a..d9fba07b664e 160000
--- a/libraries/exceptions
+++ b/libraries/exceptions
@@ -1 +1 @@
-Subproject commit b1cbf778844a28203f7da1ef286a9b4e7d6e4bb9
+Subproject commit d9fba07b664e3c48f011baca1a8a204292ca2722
diff --git a/libraries/ghci/ghci.cabal.in b/libraries/ghci/ghci.cabal.in
index 4aed5d888bff..deaf438bd65a 100644
--- a/libraries/ghci/ghci.cabal.in
+++ b/libraries/ghci/ghci.cabal.in
@@ -84,7 +84,7 @@ library
         filepath         >= 1.4 && < 1.6,
         ghc-boot         == @ProjectVersionMunged@,
         ghc-heap         == @ProjectVersionMunged@,
-        template-haskell == 2.21.*,
+        template-haskell == 2.22.*,
         transformers     >= 0.5 && < 0.7
 
     if !os(windows)
diff --git a/libraries/template-haskell/template-haskell.cabal.in b/libraries/template-haskell/template-haskell.cabal.in
index d472178b62ec..02f2821bac9a 100644
--- a/libraries/template-haskell/template-haskell.cabal.in
+++ b/libraries/template-haskell/template-haskell.cabal.in
@@ -3,7 +3,7 @@
 -- template-haskell.cabal.
 
 name:           template-haskell
-version:        2.21.0.0
+version:        2.22.0.0
 -- NOTE: Don't forget to update ./changelog.md
 license:        BSD3
 license-file:   LICENSE
diff --git a/libraries/text b/libraries/text
index 0083e7d32e2d..cdb9e13b3907 160000
--- a/libraries/text
+++ b/libraries/text
@@ -1 +1 @@
-Subproject commit 0083e7d32e2d203ce88457e62e8a282dc9f21dfb
+Subproject commit cdb9e13b39079904eed9d75cd332b66ee0cad0c0
diff --git a/testsuite/tests/ghci/scripts/T21110.stderr b/testsuite/tests/ghci/scripts/T21110.stderr
index 5fab0cd65388..0af9ce0d36de 100644
--- a/testsuite/tests/ghci/scripts/T21110.stderr
+++ b/testsuite/tests/ghci/scripts/T21110.stderr
@@ -2,4 +2,4 @@
 <no location info>: warning: [GHC-42258] [-Wunused-packages]
     The following packages were specified via -package or -package-id flags,
     but were not needed for compilation:
-      - template-haskell-2.21.0.0 (exposed by flag -package template-haskell)
+      - template-haskell-2.22.0.0 (exposed by flag -package template-haskell)
-- 
GitLab