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

quo() fails to capture certain syntactically valid expressions #652

Closed
egnha opened this issue Oct 7, 2018 · 1 comment
Closed

quo() fails to capture certain syntactically valid expressions #652

egnha opened this issue Oct 7, 2018 · 1 comment
Labels

Comments

@egnha
Copy link
Contributor

egnha commented Oct 7, 2018

In 0.2.2.9002, the following occurs:

quo(`/`(2))
#> Error in enquo(expr) : bad value

This also occurs for other arithmetic operators (e.g., *), but not all of them (e.g., ^).

Is this a bug?

(This is a rather special occurrence. Nonetheless, I have a DSL where I want to capture, then modify, such expressions, as quosures.)

@egnha
Copy link
Contributor Author

egnha commented Jan 20, 2019

@lionel- , thanks for fixing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants