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

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


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]


--
Lee

--- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ----
--- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----


Follow-Ups:
Re: Function signature help doesn't seem to know about named enumerationsBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
References:
Function signature help doesn't seem to know about named enumerationsLee <t.lee.davidson@xxxxxxxxx>
Re: Function signature help doesn't seem to know about named enumerationsBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>