Instagram / Instagram/LibCST

`QualifiedNameProvider` returns inner func name for higher-order anonymous func calls

Open
#960 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.9k
Forks
229
PR merge metrics
No merged PRs in 30d

Description

Not sure if this should be considered incorrect, but it was surprising for me.

With code like this `vmap(a)(b)`, and the tree like this:
```
Call(
func=Call(
func=Name(
value='vmap',
```
the QualifiedNameProvider will return the name metadata of the inner `Call` for the outer `Call` .

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.