-
Notifications
You must be signed in to change notification settings - Fork 63
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 the warning/error message, expected identifier
to correctly identify the issue
#469
Comments
Thanks for your report! Does this issue still appear in 0.6? Also, the last error is valid though, no? |
Yes, I'm on 0.6. The last error does confuse me, probably it could be just |
I've just merged #470 which fixes the first issue. The second issue needs a little bit more work, but it is not too bad IMO because it makes sense that the macro expects an identifier after a |
Adding extra
,
at the end of a widget written inside a view macro generates this vague warning and error:Removing the extra comma make it go away:
Other times, I came across this when trying to add a named child to GtkStack:
Which should be resolved using a
:
:What can be done to improve the user to understand the underlying problem neatly?
The text was updated successfully, but these errors were encountered: