Skip to content

Conversation

@NikKrieger
Copy link

Fixes #1834

as_label() used to error out if supplied an embraced symbol (e.g., {{x}}) because call_print_fine_type() did not anticipate {{ as an option.

call_print_fine_type() now returns "delim" for calls to {{ instead of null. The result is that as_label() will now always yield { ... } if it is supplied an embraced symbol, which is what as_label() returns for all other calls to {. A test was added to ensure that this would be the result.

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.

rlang::as_label() can't handle calls to {{

1 participant