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

fixes nim-lang/nimsuggest#103 con dot exprs #16657

Merged
merged 1 commit into from
Jan 12, 2021

Conversation

saem
Copy link
Contributor

@saem saem commented Jan 9, 2021

  • con calls for dot exprs now returns results
  • discovered an issue with dot expr results -- documented

dot exprs issue:
The way con match works is to use a partial match, considering only the formal params after the call identifier. So dot exprs, overloads, etc aren't currently handled correctly. If you want to check out the code see suggest.suggestCall which kicks things off, it'll end up using sigmatch.partialMatch which leaves the heavy lifting to sigmatch.matchesAux. sigmatch.matchesAux doesn't use the operand before the dot as part of the formal parameters. Changing this is tricky because it's used by the proper compilation sem pass and that's a big change all in one go.

- con calls for dot exprs now returns results
- discovered an issue with dot expr results -- documented
@Araq Araq merged commit bb3c6d0 into nim-lang:devel Jan 12, 2021
ardek66 pushed a commit to ardek66/Nim that referenced this pull request Mar 26, 2021
- con calls for dot exprs now returns results
- discovered an issue with dot expr results -- documented
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.

2 participants