mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
bd939d2579
`identifier` in the Python assignment module was too eager to reduce a nested Attribute into a dotted identifier. Removing it fixes method calls, which now have a unit test.
22 lines
321 B
Plaintext
22 lines
321 B
Plaintext
(Program
|
|
(Call
|
|
(Identifier)
|
|
{+(Identifier)+}
|
|
(Empty))
|
|
(Call
|
|
(Identifier)
|
|
{-(Identifier)-}
|
|
(Empty))
|
|
(Call
|
|
(Identifier)
|
|
{-(Identifier)-}
|
|
(Identifier)
|
|
{+(Identifier)+}
|
|
(Empty))
|
|
{-(Call
|
|
{-(MemberAccess
|
|
{-(Identifier)-}
|
|
{-(Identifier)-})-}
|
|
{-(Integer)-}
|
|
{-(Empty)-})-})
|