-
Notifications
You must be signed in to change notification settings - Fork 12.9k
fix(45901): Error 1064 should apply to @callback definitions in the same way as @param, but doesn't #54625
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
Conversation
…sdoc type related to async functions/methods
I think the basic approach is fine, and as a targetted fix, this just needs a little cleanup. Couple of points to follow up on, though:
I also need to think about the wording of the new error message. It's a little off but I haven't figured out an improvement. |
Shouldn't the error message be the same as other instances of this error? i.e.
I'm not sure why a new error message is even needed. |
@sandersn Thanks for the feedback. There is a utility called
Are you suggesting moving the logic from |
Sorry I dropped this. Now that I look at it again:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
re @fatcerberus 's comment: the did-you-mean isn't appropriate since the change needs to be on the callback tag, but the rest of the error still applies.
Fixes #45901