Skip to content

A peer-to-peer stack for code collaboration

fixup! Nicer error message and stack traces

Thomas Scholtesf542faa24e55
diff --git a/src/Radicle/Internal/Annotation.hs b/src/Radicle/Internal/Annotation.hs
index 394a078..78ce0e6 100644
--- a/src/Radicle/Internal/Annotation.hs
+++ b/src/Radicle/Internal/Annotation.hs
@@ -58,7 +58,7 @@ thisPos :: HasCallStack => SrcPos
thisPos = InternalPos $ T.intercalate "\n" (map prettyCallSite $ getCallStack callStack)
where
prettyCallSite (f, SrcLoc{..}) =
- toS $ srcLocFile <> show srcLocStartLine <> ":" <> show srcLocStartCol <> " " <> f
+ toS $ srcLocFile <> ":" <> show srcLocStartLine <> ":" <> show srcLocStartCol <> " " <> f
data WithPos a = WithPos SrcPos a
deriving (Read, Show, Generic, Functor, Foldable, Traversable)