2017-09-09 13:27 GMT+02:00 Damian Rouson : > > Hooray!!!! Great work, Paul. +1 :D As promised, I have done some testing by now, and found several problems (ICE-on-invalid, accepts-invalid and rejects-valid), see the attached test cases. Nothing too severe I guess. > One small step for gfortran. One big step for the Fortran world. I have never looked very closely into PDTs, but now that I do, it seems like the step for the Fortran world is not quite as big as it could be (or as I had hoped). The restriction that KIND parameters cannot be assumed/deferred is a pretty severe one, isn't it? In terms of "generic programming" it makes PDTs far less powerful than e.g. C++ templates (I knew that they are less powerful, but with this restriction it's worse than I thought). In particular, it seems that I can define a nice 'generic' type that deals with arbitrary KIND values in theory, but then all the functions / TBPs that work on my type need to be implemented separately for each KIND value (which means lots of cod duplication), right? Or am I overlooking anything here? Is anyone aware if this restriction is lifted in F08 or later, or is planned to be lifted? Cheers, Janus > On September 9, 2017 at 4:15:37 AM, Paul Richard Thomas (paul.richard.thomas@gmail.com(mailto:paul.richard.thomas@gmail.com)) wrote: > >> Dear All, >> >> The patch has been committed as revision 251925. >> >> I look forward to "feedback" (aka PRs) in the coming weeks. I will >> return to Parameterized Derived Types at the end of this month to >> clear up some of the known deficiencies (see the notes attached to the >> patch submission) and any PRs that arise. >> >> Regards >> >> Paul >