Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variable capitalization should be consistent #276

Open
Beliavsky opened this issue Jan 10, 2025 · 0 comments
Open

Variable capitalization should be consistent #276

Beliavsky opened this issue Jan 10, 2025 · 0 comments
Labels
rule A new rule for the linter

Comments

@Beliavsky
Copy link

Although Fortran is case-insensitive, the capitalization of a variable should be consistent in a program unit, so I think Fortitude should warn about

implicit none
real :: x
X = 2.1 ! capital 'x'
print*,x
end
@ZedThree ZedThree added the rule A new rule for the linter label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rule A new rule for the linter
Projects
None yet
Development

No branches or pull requests

2 participants