mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
Update extHostTypes.ts
This commit is contained in:
committed by
GitHub
parent
108327ba56
commit
b650ab8b4f
@@ -91,10 +91,10 @@ export class Position {
|
||||
|
||||
constructor(line: number, character: number) {
|
||||
if (line < 0) {
|
||||
throw illegalArgument('line must be positive');
|
||||
throw illegalArgument('line must be non-negative');
|
||||
}
|
||||
if (character < 0) {
|
||||
throw illegalArgument('character must be positive');
|
||||
throw illegalArgument('character must be non-negative');
|
||||
}
|
||||
this._line = line;
|
||||
this._character = character;
|
||||
|
||||
Reference in New Issue
Block a user