[Gambas-user] Module is not static

Benoit Minisini benoit.minisini at gambas-basic.org
Tue Nov 29 10:45:26 CET 2022


Le 29/11/2022 à 08:43, BB a écrit :
> On 29/11/22 6:02 pm, BB wrote:
>> On 29/11/22 5:42 pm, Benoit Minisini wrote:
>>>
>>> Don't you have another 'Template' somewhere as a variable?
>>>
>> Not that I can see, they are all references to the module constants.
>>
>> I'll try changing the name of the module to see if that adds any light.
>>
>> bruce
>>
> Yep, renaming the module to "CodeTemplates" fixed it. Is it a newish 
> reserved word or something in the IDE/debugger that could have caused it?
> 
> b
> 

I don't use 'Template' anywhere as far as I know. Are you sure that you 
don't export a 'Template' class somewhere?

-- 
Benoît Minisini.



More information about the User mailing list