Closed
Description
The following code is not highlighted properly due to func
not being recognised as an argument
MWE
program test_function_as_args
implicit none
contains
subroutine set_from_function_scalar(A, func)
real, dimension(:), intent(inout) :: A
interface
function func(X)
real :: func
real, dimension(:), intent(in) :: X
end function func
end interface
real, dimension(size(A)) :: B
B = func(A)
end subroutine set_from_function_scalar
end program test_function_as_args
Metadata
Metadata
Assignees
Labels
No labels