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

deepcopy: inform the compiler that the type is unchanged #34066

Merged
merged 1 commit into from
Dec 11, 2019
Merged

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Dec 10, 2019

This uses the internal jl_set_nth_field and arrayset functions which expect the type to be unchanged (and we type-assert this elsewhere), so do it here before we would potentially reach the assert/abort in those functions.

This uses the internal jl_set_nth_field and arrayset functions which expect the type to be unchanged
(and we type-assert this elsewhere), so do it here before we would potentially reach the assert/abort in those functions.
@vtjnash vtjnash merged commit 1baeb21 into master Dec 11, 2019
@vtjnash vtjnash deleted the jn/34066 branch December 11, 2019 17:08
KristofferC pushed a commit that referenced this pull request Apr 11, 2020
This uses the internal jl_set_nth_field and arrayset functions which expect the type to be unchanged
(and we type-assert this elsewhere), so do it here before we would potentially reach the assert/abort in those functions.
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