Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc Append fixes #11104

Merged
merged 2 commits into from
Jun 14, 2023
Merged

Misc Append fixes #11104

merged 2 commits into from
Jun 14, 2023

Conversation

bep
Copy link
Member

@bep bep commented Jun 14, 2023

  • tpl/collections: Fix append when appending a slice to a slice of slices
  • common/collections: Always make a copy of the input slice in Append

@bep bep force-pushed the fix/appendtake2 branch from d70c341 to c9ae338 Compare June 14, 2023 08:14
@bep bep force-pushed the fix/appendtake2 branch from c9ae338 to bfcc2a0 Compare June 14, 2023 08:29
@bep bep requested a review from jmooring June 14, 2023 08:56
@bep
Copy link
Member Author

bep commented Jun 14, 2023

@jmooring the 2 fixes in the PR are only remotely connected (they touch the same template func).

Copy link
Member

@jmooring jmooring left a comment

Choose a reason for hiding this comment

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

The related issues are both resolved: #10458 and #11004. Other quick tests with scalar, array, and page collection values were all OK.

@bep bep merged commit f73c567 into gohugoio:master Jun 14, 2023
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants