Branch: refs/heads/main
Revision: a474880aa1b8959118987ade8280f8333477e746
Author: jabraham17
Link: Fix incorrect indent rule on enums by jabraham17 · Pull Request #28567 · chapel-lang/chapel · GitHub
Log Message:
Fix incorrect indent rule on enums (#28567)
Fixes the incorrect indentation rule on enums with attributes
Since the AST node of the attribute is included in the children of the
enum, we have to skip it.
[Reviewed by @DanilaFe]
Diff:
M test/chplcheck/IncorrectIndentation.chpl
M tools/chplcheck/src/rules.py
https://github.com/chapel-lang/chapel/pull/28567.diff