forked from TrueCloudLab/neoneo-go
Merge pull request #3074 from nspcc-dev/fix-debug-info
compiler: fix sequence point boundaries
This commit is contained in:
commit
9fb154a376
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue