Closed mh-trimble closed 3 months ago
Great test case, caught an issue where exprs were dragging one extra character with them, causing the extra curly.
We can't do much about the nested rsx! case in the file expr though, but everything else should be fixed in #2106
Problem
When I format the following valid code. I get a file with mismatched curly braces and some extra empty lines I would not expect.
I get the following formatted file
Steps To Reproduce
Steps to reproduce the behavior:
cargo install dioxus-cli@0.5.0-alpha.0
dx fmt
to introduce mismatched parens and unnecessary newlinesExpected behavior
dx fmt
should format the file without breaking itEnvironment:
Questionnaire