Closed schreiberx closed 2 days ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 92.14%. Comparing base (
84a4b1d
) to head (4b7e555
). Report is 10 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
🚨 Try these New Features:
Back to @arporter
Hi @schreiberx, please could you address the Black error(s) and missing coverage? Thanks :-)
Back to @arporter
Back to @arporter
Thanks Martin, I like the new/extended tests. Probably worth putting in a bit more Fortran into the example code in both just to exercise things a bit more.
However, @sergisiso raises a good point about the symbol table. Currently, there is a single, global
fparser.two.symbol_table.SYMBOL_TABLES
object that holds information on all scoping regions encountered during a parse. We made it like this so that it is easily available whenever needed during fparser's complex, recursive execution. We need to think about whether we pickle it separately or whether we can somehow attach it to the parse tree.
fparser.two.symbol_table.SYMBOL_TABLES
is a separate thing and I don't see this to be related to this deepcopy issue. Maybe open another one?
Back to @arporter
@arporter @schreiberx Yes I am happy. I forgot that in fparser the symbol_table is only a supporting state to recurse down the tree, but not part of the output (all declaration info is in the parsetree). So I agree should not be part of the cache, sorry for the confusion.
@arporter @schreiberx Yes I am happy. I forgot that in fparser the symbol_table is only a supporting state to recurse down the tree, but not part of the output (all declaration info is in the parsetree). So I agree should not be part of the cache, sorry for the confusion.
Thanks @sergisiso, I'll proceed to merge.
Does what's in the title.