Error: The leftmost part-ref in a data-ref cannot be a function reference

@gronki ,

Happy New Year!

What you suggest was proposed by @rouson back in Feb. 2018 but it failed:
https://j3-fortran.org/doc/year/18/18-134.txt

I don’t have much of an insight, I can only offer opinion (always and never h) and it is that the facility you refer to appears to be seen as considerable cost to compiler implementors but with little real benefit, just some added convenience. Thus if anyone is keen on it, they will have to do really good “marketing” and “sell” it to the Community (get a lot of likes) and then also fully convince the voting members to get it added. For whatever it’s worth, I too do not “see any area for ambiguity or issues compiler might have in resolving it.”

3 Likes