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

Isolated the expression from private imports #11

Merged
merged 2 commits into from
Jun 13, 2023

Conversation

gui1117
Copy link
Contributor

@gui1117 gui1117 commented Jun 13, 2023

Fix #10

I also did a little refactor which avoid loosing the optional leading colon of a path

let last_seg = export_tokens_macro_ident(&last_seg.ident);
leading_segs.push(last_seg);
parse_quote!(#(#leading_segs)::*)
Copy link
Contributor Author

@gui1117 gui1117 Jun 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a path can start with ::, but this will discard it

@sam0x17 sam0x17 merged commit 27ce235 into sam0x17:main Jun 13, 2023
4 checks passed
@sam0x17 sam0x17 added the bug Something isn't working label Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Maybe #mm_override_path expression should be isolated in some way
2 participants