Hi,
I get the following error when I compile pass_pdt.f90 (attached):
pass_pdt.f90(28): error #8262: For a type-bound procedure that has the PASS binding attribute, the first dummy argument must have the same declared type as the type being defined. [VAL]
SUBROUTINE testq(val, this)
I explicitly attach the pass attribute to the second argument, this, and not the first. The second attached file (pass.f90) has no such issues. The only difference is that the derived type is no longer parameterized. Is this a compiler bug?
This is with ifort version 15.0.2, on openSUSE 13.2.
Best regards,
Øystein