fix: typo using endcol as startcol
This commit is contained in:
parent
6b3673ece4
commit
307175c408
@ -143,7 +143,7 @@ func (b *Builder) NewTokensPosition(
|
||||
pos.EndLine = endToken.Position.EndLine
|
||||
pos.StartPos = startToken.Position.StartPos
|
||||
pos.EndPos = endToken.Position.EndPos
|
||||
pos.StartCol = endToken.Position.StartCol
|
||||
pos.StartCol = startToken.Position.StartCol
|
||||
pos.EndCol = endToken.Position.EndCol
|
||||
|
||||
return pos
|
||||
|
Loading…
Reference in New Issue
Block a user