write variables as #𝑖

previously non-coloured output was too ambiguous
This commit is contained in:
rhiannon morris 2023-02-11 18:14:31 +01:00
parent ac0334ca4c
commit 7fd7a31635
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ parameters {auto _ : Pretty.HasEnv m}
prettyVar' hlok hlerr names i =
case inBounds i names of
Yes _ => hlF' hlok [|prettyM (index i names) <+> prettyIndex i|]
No _ => pure $ hl hlerr $ pretty i
No _ => pure $ hl hlerr $ "#" <+> pretty i
export %inline
prettyVar : HL -> HL -> List Name -> Var n -> m (Doc HL)