@@ -21,13 +21,13 @@ import OccName
2121-- unboxed but Haddock doesn't show that.
2222data SpanInfo =
2323 SpanInfo {spaninfoStartLine :: {-# UNPACK #-} !Int
24− -- ^ Start line of the span.
24+ -- ^ Start line of the span, zero-based.
2525 ,spaninfoStartCol :: {-# UNPACK #-} !Int
26− -- ^ Start column of the span.
26+ -- ^ Start column of the span, zero-based.
2727 ,spaninfoEndLine :: {-# UNPACK #-} !Int
28− -- ^ End line of the span (absolute).
28+ -- ^ End line of the span (absolute), zero-based.
2929 ,spaninfoEndCol :: {-# UNPACK #-} !Int
30− -- ^ End column of the span (absolute).
30+ -- ^ End column of the span (absolute), zero-based.
3131 ,spaninfoType :: !(Maybe Type)
3232 -- ^ A pretty-printed representation fo the type.
3333 ,spaninfoSource :: !SpanSource