Skip to content

Conversation

@ealmloff
Copy link
Member

@ealmloff ealmloff commented Mar 3, 2025

We were not forwarding the span of the litstr when parsing ifmt from a macro call which causes the error messages to blame the whole call span. This PR fixes that issue

@ealmloff ealmloff added bug Something isn't working rsx Related to rsx or the dioxus-rsx crate labels Mar 3, 2025
@ealmloff ealmloff requested a review from a team as a code owner March 3, 2025 23:13
@ealmloff ealmloff changed the title Fix span locations in ifmt Fix span locations in ifmt and components Mar 4, 2025
@jkelleyrtp jkelleyrtp merged commit f4c59e1 into DioxusLabs:main Mar 4, 2025
16 of 17 checks passed
AnteDeliria pushed a commit to AnteDeliria/dioxus that referenced this pull request Jun 2, 2025
* Fix span locations in ifmt

* Fix component spans

* Blame extra children on the first child element

* fix clippy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working rsx Related to rsx or the dioxus-rsx crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants