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

include sym name and owner in sigmatch symchoice error message #24645

Closed
wants to merge 1 commit into from

Conversation

metagn
Copy link
Collaborator

@metagn metagn commented Jan 24, 2025

refs #24644

Instead of listing the type of symchoices as Foo | Bar where Foo/Bar are the types of each sym, we also include the name of the sym itself as well as the owner if it exists.

This is a bit verbose, so another option would be to add an ambiguous identifier message after the "cannot instantiate" message as done for overload errors. PRing this instead.

@metagn metagn closed this Jan 24, 2025
Araq pushed a commit that referenced this pull request Jan 31, 2025
fixes #24644

Another option is to include the symbol names and owners in the type
listing as in #24645 but this is a bit verbose.
narimiran pushed a commit that referenced this pull request Jan 31, 2025
fixes #24644

Another option is to include the symbol names and owners in the type
listing as in #24645 but this is a bit verbose.

(cherry picked from commit 0861dab)
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