Skip to content

Issue #4997: Column number in DetailAST should start with 1#19280

Open
ayushactiveat wants to merge 1 commit intocheckstyle:masterfrom
ayushactiveat:issue-4997-ast-column-1
Open

Issue #4997: Column number in DetailAST should start with 1#19280
ayushactiveat wants to merge 1 commit intocheckstyle:masterfrom
ayushactiveat:issue-4997-ast-column-1

Conversation

@ayushactiveat
Copy link
Copy Markdown
Contributor

fixes #4997
column numbers in DetailAST previously started at 0 , with a workaround in AbstractCheck.log() that added
+1 before reporting violations, this was inconsistent with most modern ides/editor display col no. (1-based).

@ayushactiveat ayushactiveat force-pushed the issue-4997-ast-column-1 branch 9 times, most recently from 503b351 to 32de9de Compare March 17, 2026 23:30
@ayushactiveat
Copy link
Copy Markdown
Contributor Author

hi @romani , ci fails seems unrelated, please let me know if u need any change

@ayushactiveat ayushactiveat force-pushed the issue-4997-ast-column-1 branch 2 times, most recently from 629f784 to 95893af Compare March 26, 2026 07:42
@ayushactiveat ayushactiveat force-pushed the issue-4997-ast-column-1 branch from 95893af to 3c33f90 Compare March 26, 2026 07:46
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.

Column number in DetailAST should start with 1

1 participant