Skip to content

Conversation

@DavisVaughan
Copy link
Member

@DavisVaughan DavisVaughan commented Oct 22, 2025

Branched from #1844

To avoid SET_BODY(), we now just create a whole new function in fn_zap_srcref().

Key point here is that we copy over all the attributes on the function (there was a nice test for this) EXCEPT the srcref attribute.

This was referenced Oct 22, 2025
Base automatically changed from feature/rlang-c-api to main October 23, 2025 14:16
@DavisVaughan DavisVaughan merged commit afd322d into main Oct 23, 2025
11 checks passed
@DavisVaughan DavisVaughan deleted the feature/no-set-body branch October 23, 2025 14:23
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