fix: typo using endcol as startcol

This commit is contained in:
Laytan Laats 2023-04-17 00:06:24 +02:00
parent 6b3673ece4
commit 307175c408

View File

@ -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