[Vala] use weak and var together
- From: Frédéric Gaudy <fred_gaudy yahoo fr>
- To: vala-list gnome org
- Subject: [Vala] use weak and var together
- Date: Wed, 3 Dec 2008 14:05:14 +0000 (GMT)
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]