Topic: File Outline not correct sometimes
When a module contains a subroutine, and the subroutine itself contains an internal subroutine, the file outline view is not correct.
Module subroutines that follow the internal subroutine are shown as belonging to the file, instead of the module.
For example, the following code:
module foo
contains
subroutine a
! etc
contains
subroutine x
end subroutine x
end subroutine a
! This subroutine is part of foo, but is shown as part of the file.
subroutine b
! etc
end subroutine b
end module foo
ALSO, when a module subroutine or function is PURE the view is similarly incorrect.
For example,
pure function xyz(a)
Regards
David
David