-
Notifications
You must be signed in to change notification settings - Fork 90
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
Formatting misfire with anything following item macro call #527
Comments
It seems like anything following the macro call gets munched, even if it's a comment or a use. |
Is there just a missing |
It chomps away all newlines (one per fmt call) until there's no separation at all between items. |
I think this invocation needs to add a newline: rune/crates/rune/src/fmt/printer.rs Lines 687 to 689 in ca44d50
So |
No worries. Just thought you'd be interested! Take your time or if you want, I can look into it. |
Hmm, running locally I hit
on latest main. |
Looks to be lookup order, though if I switch the import to the top it fails on the macro evaluation. |
Item expansion inside of functions has also* been temporarily disabled until I can figure out how to make it less messy. Try with the current version I just pushed. I also have a pretty bad cold, so I might be checked out for a few more days. |
Closed in #539 |
See: https://github.com/rune-rs/rune/actions/runs/5084802670/jobs/9137546952?pr=526#step:4:590
The text was updated successfully, but these errors were encountered: