-
Notifications
You must be signed in to change notification settings - Fork 13.4k
assertion failures in quasi-quoting #1926
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
Comments
@kevina for some reason I cannot assign you, but I think you'd be interested. |
I try to look into this in the next few days. It might be as easy as reordering the The string slicing approach is inherently fragile, in the long term I think I want to switch a serialized AST in some fashion now that we has a working serializer. |
My workaround was to construct the expr call myself, so:
becomes
where |
@nikomatsakis the above commit should fix it, please try it out and let me know if it causes you any problems, if it works for you fell free to use the commit. |
That seems to fix it. I've cherrypicked the commit into a branch and will push it hopefully soon. |
Thanks, fell free to close once pushed. |
I had to modify this code somewhat to get it to compile, but the mentioned assertion failure doesn't arise, so am closing this. |
Co-authored-by: SparrowLii <[email protected]> Co-authored-by: Jieyou Xu <[email protected]>
Co-authored-by: SparrowLii <[email protected]> Co-authored-by: Jieyou Xu <[email protected]>
The following test fails with assertion failures about the "gather" ordering not being properly setup:
The text was updated successfully, but these errors were encountered: