LibCST icon indicating copy to clipboard operation
LibCST copied to clipboard

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

Open kit1980 opened this issue 2 years ago • 0 comments

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 .

kit1980 avatar Jun 16 '23 22:06 kit1980