mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-25 23:42:23 +00:00
compiler: fix sequence point boundaries
Thanks to @fyrchik, see the https://github.com/neo-project/neo-devpack-dotnet/pull/154/files#diff-ebf53d00d5ba1f1197fedd2b8111fe9a8f44fb96699ef1314d54d05d5ceeb3f3R27 See also the standard: https://github.com/neo-project/proposals/blob/master/nep-19.mediawiki#method. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
parent
4e61e8238a
commit
d1fe64470d
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