From 747fd3224f9832a97367aaf7e6085a9b0a26fba9 Mon Sep 17 00:00:00 2001
From: Teo Camarasu <teofilcamarasu@gmail.com>
Date: Thu, 24 Oct 2024 12:37:27 +0100
Subject: [PATCH] docs: link to #14474 in the template-haskell docs

---
 libraries/ghc-internal/src/GHC/Internal/TH/Syntax.hs | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/libraries/ghc-internal/src/GHC/Internal/TH/Syntax.hs b/libraries/ghc-internal/src/GHC/Internal/TH/Syntax.hs
index 6d4ed7a4ab8..ec2b1855c6c 100644
--- a/libraries/ghc-internal/src/GHC/Internal/TH/Syntax.hs
+++ b/libraries/ghc-internal/src/GHC/Internal/TH/Syntax.hs
@@ -1534,9 +1534,11 @@ data Info
   The @Maybe Dec@ field contains @Just@ the declaration which
   defined the variable - including the RHS of the declaration -
   or else @Nothing@, in the case where the RHS is unavailable to
-  the compiler. At present, this value is /always/ @Nothing@:
-  returning the RHS has not yet been implemented because of
-  lack of interest.
+  the compiler.
+
+  At present, this value is /always/ @Nothing@:
+  returning the RHS has not yet been implemented and is tracked by
+  [GHC #14474](https://gitlab.haskell.org/ghc/ghc/-/issues/14474).
   -}
   | VarI
        Name
-- 
GitLab