diff --git a/pkg/compiler/debug.go b/pkg/compiler/debug.go index a583fc3bd..03589f9eb 100644 --- a/pkg/compiler/debug.go +++ b/pkg/compiler/debug.go @@ -138,9 +138,9 @@ func (c *codegen) saveSequencePoint(n ast.Node) { Opcode: c.prog.Len(), Document: c.docIndex[start.Filename], StartLine: start.Line, - StartCol: start.Offset, + StartCol: start.Column, EndLine: end.Line, - EndCol: end.Offset, + EndCol: end.Column, }) }