You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: PowerShell member calls bind to another class with the same method name #4158
I have checked the Troubleshooting section in the README
What happened?
When two PowerShell classes define the same method name, $this.Pick() in Alpha.Run produces a definite call edge to Beta.Pick. This makes the graph show a dependency on the wrong class.
The expected call is Alpha.Run -> Alpha.Pick. Member calls should retain the receiver's class identity; a receiver that cannot be established should remain unresolved rather than selecting another class by method name.
The fixture parses without tree-sitter errors. An explicit [Alpha]::Make() likewise selects Beta.Make when both classes declare Make.
Graphify version
0.9.77; tested source 5c7b84792f453582676548185aaec3824d51dfe2 on v8.
Operating System
macOS
Python Version
3.12
Installation Method
built from source (git clone)
Additional Environment Details
Python 3.12.11, tree-sitter 0.25.2 and tree-sitter-powershell 0.26.4, using a source snapshot with local dependencies. PowerShell source is parsed, not executed. The direct extractor probe bypasses the corpus AST cache and needs no model request.
Additional context
#3992 and #3995 fixed previously dropped member calls; that fix is present. This report concerns the remaining receiver-identity error, not missing PowerShell support. Variable type inference, cross-file dispatch and bare-command/function name collisions are separate scope.
Hi! I came across this issue today and was interested in working on it, but I see that #4163 is already addressing the fix.
I don't want to duplicate work that's already underway. If there are any remaining edge cases, tests, follow-up work, or related issues where an additional contributor would be useful, I'd be happy to help.
Activity
github-actions commentedon Oct 6, 2026
Thanks for opening this issue, @oleksii-tumanov. A maintainer will take a look soon.
If you would like to discuss it in real time, come say hi on our Discord server. For longer-form questions and ideas there is also GitHub Discussions.
To help us triage, please make sure the report includes what you expected, what actually happened, and the steps (and a small sample) to reproduce it.
penielgold-hub commentedon Oct 6, 2026
Hi! I came across this issue today and was interested in working on it, but I see that #4163 is already addressing the fix.
I don't want to duplicate work that's already underway. If there are any remaining edge cases, tests, follow-up work, or related issues where an additional contributor would be useful, I'd be happy to help.
Thanks!
safishamsi commentedon Oct 6, 2026
Fixed by #4163 (thanks @oleksii-tumanov), shipped in v0.9.78. Closing as resolved.