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

fix: clone metadata for elements created via template #4396

Merged
merged 1 commit into from
Jan 6, 2022

Conversation

algomaster99
Copy link
Contributor

The metadata of the template element was ignored when its clone was generated. This was creating an issue for preserving the declaration style of arrays. See this comment.

@algomaster99
Copy link
Contributor Author

I tagged this as a feature because we are changing the semantics of what cloning from template means.

@algomaster99
Copy link
Contributor Author

@slarse @monperrus need your reviews.

@monperrus monperrus changed the title feat: clone metadata for elements created via template fix: clone metadata for elements created via template Jan 6, 2022
@monperrus monperrus merged commit cfa9115 into INRIA:master Jan 6, 2022
@monperrus
Copy link
Collaborator

thanks a lot @algomaster99

@algomaster99 algomaster99 deleted the template-metadata-clone branch January 6, 2022 08:53
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.

2 participants