Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 17fdc4b

Browse files
committed
Print the comments in grey.
1 parent 8b77c2c commit 17fdc4b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

semantic-analysis/src/Analysis/Analysis/Exception.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@ printExcSet src e = for_ (zip [0..] (Source.lines src)) $ \ (i, line) -> do
110110
let es = exceptionsForLine i e
111111
fvs = freeVariablesForLine i e
112112
unless (null es && null fvs) $ do
113-
Text.putStr (Text.pack " # ")
113+
Text.putStr (Text.pack " \ESC[30;1m# ")
114114
Text.putStr (Text.pack "{" <> union
115115
( formatFreeVariables fvs
116-
<> formatExceptions es ) <> Text.pack "}")
116+
<> formatExceptions es ) <> Text.pack "}\ESC[0m")
117117
Text.putStrLn mempty
118118
where
119119
union = Text.intercalate (Text.pack ", ")

0 commit comments

Comments
 (0)