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
my cursor being just behind c
and I invoke signature help, it doesn't seem to recognise the array constructor [1, 2, 3] as a single argument.
Instead it thinks I'm already at the 5th parameter (e), probably because four commas have preceded.
The same thing happens with the old-fashioned array constructor:
call mySubroutine(a, (/1, 2, 3/), c)
If I try to use a result of a function as an argument, the same behaviour occurs:
functionmyFunction(a, b, c, d, e) result(x)
! ...
endfunction
x = myFunction(a, myFunction(a, b, c), c)
I guess the function call parser can't really recognise objects that can return temporary variables. This could be improved.
The text was updated successfully, but these errors were encountered:
michaelkonecny
changed the title
Signature help - array constructor/function call not recognised
Signature help - array constructor/function call not recognised as argument
Oct 7, 2020
Hello,
hope you're good.
If I have a subroutine such as
and I'm writing a call to it, like this:
my cursor being just behind
c
and I invoke signature help, it doesn't seem to recognise the array constructor
[1, 2, 3]
as a single argument.Instead it thinks I'm already at the 5th parameter (
e
), probably because four commas have preceded.The same thing happens with the old-fashioned array constructor:
If I try to use a result of a function as an argument, the same behaviour occurs:
I guess the function call parser can't really recognise objects that can return temporary variables. This could be improved.
The text was updated successfully, but these errors were encountered: