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
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
7 checks passed
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.

None yet

3 participants