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.hsindex 394a078..78ce0e6 100644--- a/src/Radicle/Internal/Annotation.hs+++ b/src/Radicle/Internal/Annotation.hs@@ -58,7 +58,7 @@ thisPos :: HasCallStack => SrcPosthisPos = InternalPos $ T.intercalate "\n" (map prettyCallSite $ getCallStack callStack)whereprettyCallSite (f, SrcLoc{..}) =- toS $ srcLocFile <> show srcLocStartLine <> ":" <> show srcLocStartCol <> " " <> f+ toS $ srcLocFile <> ":" <> show srcLocStartLine <> ":" <> show srcLocStartCol <> " " <> fdata WithPos a = WithPos SrcPos aderiving (Read, Show, Generic, Functor, Foldable, Traversable)