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 compile error propagation #929

Merged
merged 1 commit into from
May 16, 2024
Merged

Conversation

juhaku
Copy link
Owner

@juhaku juhaku commented May 16, 2024

Fix compile error propagation via comprehensive use of ToTokensDiagnostics trait. ToTokensDiagnostics was introduced in PR #920 to allow error propagation up in the call stack for error reporting. However this initial implementation was too limited which resulted invalid compile errors in case of error. This implementation aims to fix the shortcomings of the initial implementation.

Fixes #927

@juhaku juhaku force-pushed the fix-compile-error-path-params branch from 23993e1 to e0ad0de Compare May 16, 2024 12:51
Fix compile error propagation via comprehensive use of
`ToTokensDiagnostics` trait. `ToTokensDiagnostics` was introduced in
PR #920 to allow error propagation up in the call stack for error
reporting. However this initial implementation was too limited which
resulted invalid compile errors in case of error. This implementation
aims to fix the shortcomings of the initial implementation.
@juhaku juhaku force-pushed the fix-compile-error-path-params branch from e0ad0de to 87b177d Compare May 16, 2024 13:01
@juhaku juhaku merged commit 28cf85c into master May 16, 2024
14 checks passed
@juhaku juhaku deleted the fix-compile-error-path-params branch May 16, 2024 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Released
Development

Successfully merging this pull request may close these issues.

Fix compile error for path params, proc macro error migration after effect
1 participant