You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a function is defined with keyword1 type keyword2 function name()keyword1 will not be shown upon hover.
! function with type on definition, return and keywords
pure integer elemental function fun5(arg) result(retval)
integer, intent(in) :: arg
end function fun5
The text was updated successfully, but these errors were encountered:
It required major rewrite of the function definition parsing
Closes Functions with multiple keywords display incorrect hover #48
TODO:
1. Add tests about intrinsic functions
2. Add tests about functions returning arrays (this is actually a big deal)
2. touches on if hover should be displaying FORTRAN abiding code.
I am leaning towards yes, so displaying
```fortran
real dimension(10,10) function foo(arg) result(val)
real, intent(in) :: arg
```
Does not seem the right thing for me to do. I think the hover request
should return instead
```fortran
real function foo(arg) result(val)
real, intent(in) :: arg
real, dimension(10,10) :: val
```
This way syntax highlighting in VSCode will not complain
If a function is defined with
keyword1 type keyword2 function name()
keyword1
will not be shown upon hover.The text was updated successfully, but these errors were encountered: