On Mon, 05 Jan 2015, Beno?t Minisini wrote: > Le 04/01/2015 23:26, Tobias Boege a ?crit : > > Hi Benoit, > > > > there is a behaviour which bothers me for some time. If I create a class > > MyClass, make it Create Static and define a (non-static) Public Sub _call, > > I cannot use > > > > MyClass() > > > > The interpreter throws "MyClass._call is not static". I can still use > > > > MyClass._call() > > > > but that doesn't look cool enough. Can the interpreter be made more clever > > about this (or am I doing a forbidden thing)? > > > > Regards, > > Tobi > > > > It's a bug. It's fixed in revision #6809. >
Works as far as the project I attached last time is concerned. Attached now is a new version of the test project in which _call() has a parameter. It fails here saying "wanted MyClass got Integer instead". Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk
create-static-call-0.0.2.tar.gz
Description: Binary data
------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user