We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In [email protected], related zzau13/yarte#211
With parse impl of syn::Expr:
syn::Expr
ywrite_html!(buf, "{{ @ }}");
works correctly, error is spammed by syn with fallback span.
And for this with Punctuated::parse_terminated:
Punctuated::parse_terminated
ywrite_html!(buf, r#"{{> hello_ex my_card body="foo" }}"#);
not works, panic with Invalid span with no related FileInfo!
Invalid span with no related FileInfo!
The text was updated successfully, but these errors were encountered:
Would you be able to provide a minimal repro using proc-macro2 only, independent of yarte and syn?
Sorry, something went wrong.
It is much more complicated than I expected, I cannot replicate it separately. It will take a little longer.
The implementation is very stable but from the error messages it seems that it operates with both types of Span when it should be forced to fallback.
I will try to reproduce it but it will take a little longer.
I'll close this in the absence of a way to reproduce. Feel free to open a new issue if you nail down what's happening.
No branches or pull requests
In [email protected], related zzau13/yarte#211
With parse impl of
syn::Expr
:works correctly, error is spammed by syn with fallback span.
And for this with
Punctuated::parse_terminated
:not works, panic with
Invalid span with no related FileInfo!
The text was updated successfully, but these errors were encountered: