Branch: refs/heads/main
Revision: a902cde841163ab34f3ab0368f963fe58af56272
Author: jabraham17
Link: Fix IncorrectIndentation checking for else/if chains and expand chapel-py uast methods by jabraham17 · Pull Request #28361 · chapel-lang/chapel · GitHub
Log Message:
Fix IncorrectIndentation checking for else/if chains and expand chapel-py uast methods (#28361)
Fixes an issue where the IncorrectIndentation warning would incorrectly
warn for else if statements.
-
start_test test/chplcheck
[Reviewed by @DanilaFe]
Diff:
M test/chplcheck/IncorrectIndentation.chpl
M test/chplcheck/IncorrectIndentation.good
M test/chplcheck/IncorrectIndentation.good-fixit
M tools/chapel-py/src/method-tables/uast-methods.h
M tools/chplcheck/src/rules.py
https://github.com/chapel-lang/chapel/pull/28361.diff