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

Correctly handle macro invocations in closures #16

Open
alecmocatta opened this issue Oct 15, 2019 · 0 comments
Open

Correctly handle macro invocations in closures #16

alecmocatta opened this issue Oct 15, 2019 · 0 comments

Comments

@alecmocatta
Copy link
Owner

alecmocatta commented Oct 15, 2019

Currently this crate doesn't necessarily correctly handle macro invocations that expand to code that includes captured variables.

Doing this correctly requires eagerly evaluating macro invocations, see rust-lang/rfcs#2320

Currently this crate assumes macro arguments are comma-separated expressions, emitting a warning if that doesn't hold.

@alecmocatta alecmocatta pinned this issue Oct 15, 2019
@alecmocatta alecmocatta unpinned this issue Nov 4, 2019
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

No branches or pull requests

1 participant