28159, "Rocker810", "[Bug]: Incorrect Indentation rule in chplcheck doesnt warn for var declarations", "2025-12-08T23:31:53Z"
Description:
The IncorrectIndentation rule correctly warns when writeln statements have inconsistent indentation, but fails to warn when var declarations have the same issue.
Steps to Reproduce:
// correctly warns
proc foo() {
writeln("Hello, World!");
writeln("Hello, World!");
}
// no warning (but should warn)
proc bar() {
var x = 10;
var y = 20;
}