Re: [Vala] Some observation about chaining up constructors.



Hi Yu,

On Wed, 2008-11-19 at 01:52 -0500, Yu Feng wrote:
I was trying to chain up some class constructors for non-GObject classes with 0.5.1/0.4.0.

The following code is generated. The instance is created twice.
If I change the parent class to GObject, the extra create_instance is immediately removed.

Nice catch, fixed in r2033.

Jürg




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