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 method calls ($this.M(), [Type]::M()) are dropped from the call graph #3992
PowerShell method calls are never recorded as call edges. A call like $this.Square(3) from one class method to another — or the static [Calc]::Make() form — is silently dropped from the call graph. Only bare command/function invocations (Helper) are captured.
Version / commit
v8 @ ef4450d (v0.9.73)
Environment
macOS (darwin 24.6), Python 3.13, tree-sitter-powershell via default uv sync.
No calls edge. Both methods are present as nodes, but every method invocation is dropped.
Root cause
The call walker in graphify/extractors/powershell.py only handles command nodes. A method call parses as an invokation_expression (callee in the member_name child, args in argument_list), which was never visited. A bare property read ($this.Name) is a separate member_access node and correctly produces no call.
Scope
A clean checkout reproduces. Member calls should resolve only to methods (not to a free function sharing the name), to avoid false edges on unknown receivers.
Activity
github-actions commentedon Oct 2, 2026
Thanks for opening this issue, @rajatnagda45. 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.
fix(powershell): record method calls ($this.M(), [Type]::M())
fix(powershell): resolve member calls by receiver owner (#4163)