Open hiker opened 2 months ago
I'd prefer to implement proper support for it. I've done a quick google and AFAICT, it's a symbol that can be read outside the module but only written to by routines inside a module? Could we extend the public/private support to include protected? That would mean we could use the same mechanisms that we already have to handle PUBLIC ::
/PRIVATE ::
statements.
Just a note (while I think about it) to say that we will need to update the Dev Guide: https://psyclone-dev.readthedocs.io/en/latest/psyir_symbols.html#datatypes
build_output/science/jules/science/params/veg3_param_mod.f90 contains:
The
PROTECTED
statement causes the whole module to be turned into a code block. Two step solution:I am actually surprised that the public statement does not cause the same problem .