mirror of
https://github.com/luau-lang/luau.git
synced 2025-03-04 03:01:41 +00:00
Merge branch 'upstream' into merge
This commit is contained in:
commit
d17d70d6ed
1 changed files with 2 additions and 2 deletions
|
@ -117,9 +117,9 @@ struct StringWriter : Writer
|
||||||
index = newlinePos + 1;
|
index = newlinePos + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
pos.line += numLines;
|
pos.line += unsigned(numLines);
|
||||||
if (numLines > 0)
|
if (numLines > 0)
|
||||||
pos.column = unsigned(s.size()) - index;
|
pos.column = unsigned(s.size()) - unsigned(index);
|
||||||
else
|
else
|
||||||
pos.column += unsigned(s.size());
|
pos.column += unsigned(s.size());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue