Skip to content

Add PWR088: Add missing arguments to procedure calls#125

Merged
alvrogd merged 1 commit intomainfrom
feature/AddPWR088
Feb 6, 2026
Merged

Add PWR088: Add missing arguments to procedure calls#125
alvrogd merged 1 commit intomainfrom
feature/AddPWR088

Conversation

@alvrogd
Copy link
Collaborator

@alvrogd alvrogd commented Feb 5, 2026

Add entry for a new check.

Omitting required arguments leads to undefined behavior. Thus, performance benchmarking isn't meaningful since there isn't a correct baseline to measure against.

@alvrogd alvrogd self-assigned this Feb 5, 2026
@alvrogd alvrogd marked this pull request as ready for review February 5, 2026 12:13
@alvrogd alvrogd requested review from a team, d-alonso and igarcia0 and removed request for a team February 5, 2026 12:13
### Code examples

The following example advances a simulation time by `numberSteps * dt`. The
procedure expects three arguments, but the caller accidentally passes only two:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
procedure expects three arguments, but the caller accidentally passes only two:
procedure expects four arguments, but the caller accidentally passes only three:

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the catch, fixed!

@alvrogd alvrogd merged commit cb6e82e into main Feb 6, 2026
7 checks passed
@alvrogd alvrogd deleted the feature/AddPWR088 branch February 6, 2026 09:05
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.

3 participants