Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Empty position node in imports #215

Open
r0mainK opened this issue Sep 27, 2019 · 0 comments
Open

Empty position node in imports #215

r0mainK opened this issue Sep 27, 2019 · 0 comments

Comments

@r0mainK
Copy link

r0mainK commented Sep 27, 2019

So basically when we parse:

import foo
from foo import bar

In both cases, only the uast:RuntimeImport nodes have a position attribute that holds information. The uast:Identifier nodes have a position attribute, but they contains no information. Also, there is only starting information, and nothing about the ending.

I don't know if this is a bug or not, but it would be good if we had positional information propagated through each node, and ending information.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant