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
There is a case of function declaration that leads to the return type not being parsed correctly, namely:
integerfunctiontest(a) result(b)
implicit nonereal:: a
b = a
endfunction
Hover over a correctly shows real but hover over b does not reveal anything.
It is the combination of the type in front of the function keyword with the result keyword at the end that causes this problem.
Both
integerfunctiontest(a)
implicit nonereal:: a
test = a
endfunction
as well as
functiontest(a) result(b)
implicit noneinteger:: b
real:: a
b = a
endfunction
parse and show the return type correctly.
The text was updated successfully, but these errors were encountered:
There is a case of function declaration that leads to the return type not being parsed correctly, namely:
Hover over
a
correctly showsreal
but hover overb
does not reveal anything.It is the combination of the type in front of the
function
keyword with theresult
keyword at the end that causes this problem.Both
as well as
parse and show the return type correctly.
The text was updated successfully, but these errors were encountered: