Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/vs/workbench/api/node/extHostTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down