Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add access property to 'using' CppVariable #71

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 7, 2021

Conversation

davidcaron
Copy link
Contributor

@davidcaron davidcaron commented Aug 4, 2021

properties, typedefs, etc. are stored in a dict where the key is the access specifier. But for using, the key is the variable name.

Unless I missed it, for using there is currently no way to get the access specifier... so this PR intends to add it.

@auscompgeek
Copy link
Member

Seems like a reasonable change. Could you please add a test for this?

@davidcaron
Copy link
Contributor Author

Done, I kind of hijacked another test case, I have no problem if you prefer a specific test case.

Copy link
Member

@virtuald virtuald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@virtuald virtuald merged commit d94f100 into robotpy:main Aug 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants