This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, Fortran] Fix misleading error for PROCEDURE(interface) and abstract types


Daniel Kraft wrote:
> when compiling this program:
>
>   type, abstract :: t
>   contains
>     procedure(foobar), deferred :: x
>   end type t
> end
>
> (I think it is legal but not yet supported by gfortran because of the
> deferred binding)
Well, it would be valid if you had an interface for foobar ;-)
> I'll regression test and write a ChangeLog before committing, of course.
OK. Though, I'm wondering whether changing the order is better:

+ gfc_error ("PROCEDURE(interface) not yet implemented at %C");

"PROCEDURE(interface) at %C not yet implemented[in gfortran]"

Tobias


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]