Skip to content

Conversation

Marcono1234
Copy link
Contributor

The way numbering is performed and ranges are expressed differs between programming languages and contexts. E.g. often numbering starts at 0 and the start of a range is inclusive while the end of a range is exclusive.
For the Location class of QL, it appears numbering starts at 1 and start and end of line and column ranges are inclusive.
This pull request adds this information to the respective predicate documentations.

Note: Maybe the text "(inclusive)", added by this pull request, is not meaningful enough. Any feedback suggesting a different solution is welcome.

@Marcono1234 Marcono1234 requested a review from a team as a code owner July 6, 2020 13:50
Copy link
Contributor

@aschackmull aschackmull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@aschackmull aschackmull merged commit 173e108 into github:master Jul 7, 2020
max-schaefer pushed a commit to max-schaefer/codeql-go that referenced this pull request Jul 7, 2020
max-schaefer pushed a commit to max-schaefer/codeql-go that referenced this pull request Jul 7, 2020
@Marcono1234 Marcono1234 deleted the patch-1 branch July 8, 2020 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants