Skip to content

Localize coindex in GetInterfaceName to prevent variable leakage - #97

Merged
lwJi merged 1 commit into
mainfrom
codex/find-easiest-issue-and-create-branch
Jan 15, 2026
Merged

Localize coindex in GetInterfaceName to prevent variable leakage#97
lwJi merged 1 commit into
mainfrom
codex/find-easiest-issue-and-create-branch

Conversation

@lwJi

@lwJi lwJi commented Jan 15, 2026

Copy link
Copy Markdown
Owner

Motivation

  • Prevent accidental leakage or reuse of the loop index coindex when generating interface names, which could cause incorrect output or cross-contamination of state during code generation.

Description

  • Add coindex to the Module local variables in GetInterfaceName inside src/BackendCommon.wl, so the index is properly localized during the Do loop.

Testing

  • No automated tests were run for this change.

Codex Task

@lwJi
lwJi merged commit d3f5bfb into main Jan 15, 2026
1 check passed
@lwJi
lwJi deleted the codex/find-easiest-issue-and-create-branch branch January 15, 2026 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant