未验证 提交 b650ab8b 编写于 作者: M Manzur Khan Sarguru 提交者: GitHub

Update extHostTypes.ts

上级 108327ba
...@@ -91,10 +91,10 @@ export class Position { ...@@ -91,10 +91,10 @@ export class Position {
constructor(line: number, character: number) { constructor(line: number, character: number) {
if (line < 0) { if (line < 0) {
throw illegalArgument('line must be positive'); throw illegalArgument('line must be non-negative');
} }
if (character < 0) { if (character < 0) {
throw illegalArgument('character must be positive'); throw illegalArgument('character must be non-negative');
} }
this._line = line; this._line = line;
this._character = character; this._character = character;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册