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: emit syntax errors in components rather than swallowing them (closes #3535) #3538

Merged
merged 2 commits into from
Feb 1, 2025

Conversation

gbj
Copy link
Collaborator

@gbj gbj commented Feb 1, 2025

In theory this is a breaking change, because it emits an error where previously it emitted no error. However, it emits an error if there is a syntax error in a component, rather than simply emitting an empty token stream with no error. i.e., if this causes a new compile error your code was already broken.

@gbj gbj merged commit c6de7c7 into main Feb 1, 2025
74 checks passed
@gbj gbj deleted the 3535 branch February 1, 2025 20:29
zakstucke pushed a commit to zakstucke/leptos that referenced this pull request Feb 6, 2025
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.

1 participant