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

show symchoices as ambiguous in overload type mismatches #24077

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

metagn
Copy link
Collaborator

@metagn metagn commented Sep 7, 2024

fixes #23397

All ambiguous symbols generate symchoices for call arguments since #23123. So, if a type mismatch receives a symchoice node for an argument, we now treat it as an ambiguous identifier and list the ambiguous symbols in the error message.

@metagn metagn force-pushed the symchoice-ambiguous-type-mismatch branch from 4890e36 to 2dad9a8 Compare September 9, 2024 00:07
@Araq Araq merged commit f223f01 into nim-lang:devel Sep 9, 2024
19 checks passed
Copy link
Contributor

github-actions bot commented Sep 9, 2024

Thanks for your hard work on this PR!
The lines below are statistics of the Nim compiler built from f223f01

Hint: mm: orc; opt: speed; options: -d:release
174192 lines; 8.235s; 655.219MiB peakmem

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.

Error message 'ambiguous identifier' shows wrong module for re-exported symbols
2 participants