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:
end subroutine x
end subroutine a
! This subroutine is part of foo, but is shown as part of the file.
end subroutine b
end module foo
ALSO, when a module subroutine or function is PURE the view is similarly incorrect.
pure function xyz(a)