From 1d2f96e60a56fda004f1585a0e97b9bebb6815f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Hr=C4=8Dek?= <honza.hrk@gmail.com> Date: Wed, 26 Jul 2023 09:09:51 +0200 Subject: [PATCH] Fix haddock markup in code example for coerce (cherry picked from commit 1b15dbc4e6ee5af87cc8b36c9a50287ae5d16b03) --- compiler/GHC/Builtin/primops.txt.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/GHC/Builtin/primops.txt.pp b/compiler/GHC/Builtin/primops.txt.pp index 06a3022cd59..2a4c58cde71 100644 --- a/compiler/GHC/Builtin/primops.txt.pp +++ b/compiler/GHC/Builtin/primops.txt.pp @@ -3821,7 +3821,7 @@ pseudoop "coerce" This function is representation-polymorphic, but the 'RuntimeRep' type argument is marked as 'Inferred', meaning that it is not available for visible type application. This means - the typechecker will accept @'coerce' @'Int' @Age 42@. + the typechecker will accept @'coerce' \@'Int' \@Age 42@. } ------------------------------------------------------------------------ -- GitLab