PSyclone
PSyclone copied to clipboard
Add support to parse Fortran array bounds with expressions
For example: real :: a(start - 1: stop + 1)
Currently it is a UnknownFortranType, but it should be an ArrayType with an ArrayBound with 2 psyir expressions.
This is also an issue when attempting to inline routines/functions in NEMO (e.g. snw_ent in icethd_dh.f90).
I shall take this one on.
It turns out this is a duplicate of #949 but as I've only just discovered this, I'll carry on with this one.