Skip to content

fix: correct generated code for apply-to-all lookup definitions#805

Merged
chrispcampbell merged 7 commits intomainfrom
chris/642-apply-to-all-lookup-def
Apr 14, 2026
Merged

fix: correct generated code for apply-to-all lookup definitions#805
chrispcampbell merged 7 commits intomainfrom
chris/642-apply-to-all-lookup-def

Conversation

@chrispcampbell
Copy link
Copy Markdown
Contributor

Fixes #642

@ToddFincannonEI: This is the second of three today. (I have a few more perf fixes on the way, but I will save those for later in the week.) See issue for details.

AI disclosure

I manually wrote the test cases first. I then used Claude Code (Opus 4.6) to investigate a fix. Its first attempt was more complicated than it needed to be. I eventually simplified it, recognizing that the existing variable names were fine and that we just needed to omit the for loops in decl mode.

Copy link
Copy Markdown
Collaborator

@ToddFincannonEI ToddFincannonEI left a comment

Choose a reason for hiding this comment

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

Good to fix this up for 1.0, even if we can attribute it to user error. It made me wonder whether we're doing this in EPS, which is so heavily subscripted, but fortunately we are not.

@chrispcampbell chrispcampbell merged commit b6762de into main Apr 14, 2026
6 checks passed
@chrispcampbell chrispcampbell deleted the chris/642-apply-to-all-lookup-def branch April 14, 2026 18:39
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.

Incorrect code generated for apply-to-all lookup definitions

2 participants