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

Fix non-brace delimeters in nested macro formatting #2831

Merged
merged 2 commits into from
Aug 14, 2024

Conversation

jkelleyrtp
Copy link
Member

Fix #2806

We were only looking for brace macro replacements which doesn't work if you have non-brace delimiters for your macro.

Now we just transform all nested rsx!() calls to rsx!{}

@jkelleyrtp jkelleyrtp requested a review from ealmloff August 13, 2024 19:24
@jkelleyrtp jkelleyrtp merged commit 851abe8 into main Aug 14, 2024
15 checks passed
@jkelleyrtp jkelleyrtp deleted the jk/fix-autofmt-replacer branch August 14, 2024 05:47
@jkelleyrtp jkelleyrtp added this to the 0.6.0 milestone Aug 20, 2024
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

Successfully merging this pull request may close these issues.

dx fmt removes code it cannot format and replaces it with dioxus_autofmt_block__________!() macro
2 participants