[Vala] use weak and var together



Hi,

I don't know if it' a bug or a feature. When I use weak and var keywords, I obtain a error:
error: The type name `var' could not be found

Code :
weak var thread = Thread.create( this.process_thread, true);

If I define the type, no problem.
weak Thread thread = Thread.create( this.process_thread, true);       


So it's a normal behavior or a bug?



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