on master help sign in
Fix little indentation issue in single line code pair errors
364440dEvan Czaplicki
compiler/src/Reporting/Render/Code.hs+1−1
@@ -142,7 +142,7 @@ renderPair source@(Source sourceLines) region1 region2 =
142 (Just line) = List.lookup startRow1 sourceLines
142 (Just line) = List.lookup startRow1 sourceLines
143 in
143 in
144 OneLine $
144 OneLine $
145− text lineNumber <> "|" <> text (Text.unpack line)
145+ text lineNumber <> "| " <> text (Text.unpack line)
146 <> hardline
146 <> hardline
147 <> text spaces1 <> dullred (text zigzag1)
147 <> text spaces1 <> dullred (text zigzag1)
148 <> text spaces2 <> dullred (text zigzag2)
148 <> text spaces2 <> dullred (text zigzag2)