-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Improve html!
error messages.
#1192
Conversation
yay for enjoyable debugging 🎉 FYI you'll probably find this useful for making CI happy: https://github.com/yewstack/yew/blob/master/CONTRIBUTING.md#macro-tests |
Thanks for the link!
… On 9 May 2020, at 14:25, Justin Starry ***@***.***> wrote:
yay for enjoyable debugging 🎉
FYI you'll probably find this useful for making CI happy: https://github.com/yewstack/yew/blob/master/CONTRIBUTING.md#macro-tests <https://github.com/yewstack/yew/blob/master/CONTRIBUTING.md#macro-tests>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#1192 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AKFSTPII3CXJXZ4SKBPQRZLRQVKVJANCNFSM4M4ZH2IQ>.
|
Not sure why it's only working on Rust |
Seems to be a problem with the change from "expected expression" to "expected an expression." |
@teymour-aldridge the rust version will change the output since it depends on the compiler error messages. For this reason, we only run these macro tests on latest stable (they are not run on |
Ah, thanks! |
I think I've now resolved this. |
* Improve `html!` error messages. * Improved some additional error messages. * Improved error messages for iterables. * Improved list error messages. * Made a comment clearer. * Updated an `html_tag` error message. * Improved duplicate attribute error message. * Updated tests to reflect updated error messages. * Reformat code. * Updated tests to reflect new error messages. * Updated macro tests. * Fix macro tests. * Reformat code.
* Improve `html!` error messages. * Improved some additional error messages. * Improved error messages for iterables. * Improved list error messages. * Made a comment clearer. * Updated an `html_tag` error message. * Improved duplicate attribute error message. * Updated tests to reflect updated error messages. * Reformat code. * Updated tests to reflect new error messages. * Updated macro tests. * Fix macro tests. * Reformat code.
I think this makes the debugging experience smoother and more enjoyable.