Skip to content
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

Hint the return type of SourceTree.get_tree() #62

Open
MatthewHambley opened this issue Apr 26, 2022 · 0 comments
Open

Hint the return type of SourceTree.get_tree() #62

MatthewHambley opened this issue Apr 26, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@MatthewHambley
Copy link
Collaborator

MatthewHambley commented Apr 26, 2022

It would be good to get a type hint on the return of SourceTree.get_tree() but each implementation will return a different type. For instance Fortran will return an fParser Program object but C++ would return something else.

This issue implies an investigation into the best way to handle this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant