[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Function signature help doesn't seem to know about named enumerations


Le 16/11/2026 à 16:00, Lee a écrit :
On 11/16/26 3:06 AM, Benoît Minisini wrote:
Le 15/11/2026 à 23:57, Lee a écrit :
When typing in a call to a function that uses a named enumeration, the function signature help chokes.

I got the attached pic.


Gambas=3.22.1



Do you have a little project that triggers the error?


I don't know how I could provide a project that triggers it, because it is when typing a statement that calls a function into the code editor. All I can provide is code that contains a function that uses a named enumeration, and you would have to type in code that calls it to trigger the error.

Maybe this?
[code]
' Gambas module file

Public Enum MyEnum Is First, Second

Public Sub Main()

   ' Try to complete the function call with an argument
   TestSub

End

Public Sub TestSub(Status As Enum MyEnum)

   Print "My status is: "; Status

End
[/code]



Thanks. The problem should have been fixed in the last commits.

Regards,

--
Benoît Minisini.