[Gambas-user] Issue 440 in gambas: Faulty error message from valid code

gambas at ...2524... gambas at ...2524...
Tue Aug 13 14:57:14 CEST 2013


Updates:
	Status: WontFix

Comment #4 on issue 440 by benoit.m... at ...626...: Faulty error message from  
valid code
http://code.google.com/p/gambas/issues/detail?id=440

Ah, ok. This is not a bug: the Class1._call method is dynamic, and if you  
use the Class1() syntax, you are looking for a static _call method.

As there is no _call static method, the interpreter uses a default one that  
is just a conversion to Class1 (a cast). And so "1" is converted to Class1,  
which fails, and you get the error message.

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings




More information about the User mailing list