You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
This issue no longer seems relevant. SourceTree.get_tree is unhinted but is also abstract. FortranSource.get_tree is hinted to return an fparser.Program and PlainText.get_tree returns a Generator.
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 fParserProgram
object but C++ would return something else.This issue implies an investigation into the best way to handle this.
The text was updated successfully, but these errors were encountered: