Skip to content

Fix const parameter array length scratch allocation#240

Merged
Devon7925 merged 1 commit intoconst-parametersfrom
codex/fix-const-parameters-test-for-functions
Oct 16, 2025
Merged

Fix const parameter array length scratch allocation#240
Devon7925 merged 1 commit intoconst-parametersfrom
codex/fix-const-parameters-test-for-functions

Conversation

@Devon7925
Copy link
Copy Markdown
Owner

Summary

  • allocate array-repeat length parsing scratch storage relative to the existing element scratch so const parameter metadata collection doesn't trample function parameter tables
  • reuse the scratch area to evaluate literal lengths while keeping a dedicated buffer for const-parameter usage tracking

Testing

  • bun test

https://chatgpt.com/codex/tasks/task_e_68f165ae33248329a251e130062d7b82

@Devon7925 Devon7925 merged commit 6f457cf into const-parameters Oct 16, 2025
1 check passed
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