Skip to content

Comments

Go: Fix bug in ResponseWriter for variadic MaD#16619

Merged
owen-mc merged 1 commit intogithub:mainfrom
owen-mc:go/fix/response-writer-variadic
Jun 4, 2024
Merged

Go: Fix bug in ResponseWriter for variadic MaD#16619
owen-mc merged 1 commit intogithub:mainfrom
owen-mc:go/fix/response-writer-variadic

Conversation

@owen-mc
Copy link
Contributor

@owen-mc owen-mc commented May 29, 2024

getSummaryInputOrOutputNode was giving the summary component stack for arguments corresponding to variadic parameters. This will be a problem when the models for variadic functions are converted to models-as-data.

Note: this has no tests, but it has been extracted from #16592 where it was needed to fix some tests that failed after some models were converted to models-as-data. So I feel this is okay, as it will be tested by that PR.

`getSummaryInputOrOutputNode` was giving the summary component stack for
arguments corresponding to variadic parameters. This will be a problem
when the models for variadic functions are converted to models-as-data.
@owen-mc owen-mc requested a review from a team as a code owner May 29, 2024 20:25
@github-actions github-actions bot added the Go label May 29, 2024
@owen-mc owen-mc added the no-change-note-required This PR does not need a change note label May 29, 2024
Copy link
Contributor

@smowton smowton left a comment

Choose a reason for hiding this comment

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

Looks plausible

@owen-mc owen-mc merged commit 1339836 into github:main Jun 4, 2024
@owen-mc owen-mc deleted the go/fix/response-writer-variadic branch June 4, 2024 04:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Go no-change-note-required This PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants