Skip to content

Commit a179580

Browse files
committed
Use z extension method instead of Ordinal.zerary
1 parent 4d68416 commit a179580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/probably.Probably.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ object Probably:
153153
val exprName: Text = expr.asTerm.pos match
154154
case pos: dtdu.SourcePosition =>
155155
pos.lineContent.show.segment
156-
(Ordinal.zerary(pos.startColumn) ~ Ordinal.natural(pos.endColumn))
156+
(pos.startColumn.z ~ Ordinal.natural(pos.endColumn))
157157

158158
case _ =>
159159
t"<unknown>"

0 commit comments

Comments
 (0)