Topic: SF File Outline won't list subroutines

Hi Jeff,

I came across an unusual issue when adding an Interface to a subroutine.

For example a Func subroutine used in a file listed in the Project Outline is typically listed in the File Outline as Func.  But when an Interface is added to the subroutine calling it, then it (Func) is no longer shown in the File Outline.  If the Interface to func() is remove, the subroutine func() reappears in the File Outline list.

INTERFACE
  SUBROUTINE func(x, f)
    IMPLICIT NONE
    INTEGER, PARAMETER      :: dp = SELECTED_REAL_KIND(12, 60)
    REAL (dp), INTENT(IN)   :: x(:)
    REAL (dp), INTENT(OUT)  :: f
  END SUBROUTINE func
END INTERFACE

Perhaps I shouldn't be using an Interface here as func() is just being called from within a single subroutine which contains the Interface and it's not being passed as an argument.  However, I find this behavior unusual...

Any thoughts?

Dr.Frank

Re: SF File Outline won't list subroutines

Frank,

There appears to be a bug in the current version handling unnamed interfaces like your example.  I'm working on a fix now.

Jeff Armstrong
Approximatrix, LLC