[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Vala] Various tests with the new contract support, but also with non-GLib.Object classes
- From: Philip Van Hoof <spam pvanhoof be>
- To: Jürg Billeter <j bitron ch>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Various tests with the new contract support, but also with non-GLib.Object classes
- Date: Thu, 24 Apr 2008 10:59:41 +0200
On Thu, 2008-04-24 at 08:41 +0200, Jürg Billeter wrote:
> This is a bug, however, it only happens if you use non-GObject classes.
> It should work fine with `public class Test : Object'. We also want to
> support field initializers for non-GObject classes, though.
http://bugzilla.gnome.org/show_bug.cgi?id=529679
> > Also note that the ensures is never checked in the generated .c file
>
> Right, runtime checks for postconditions are only inserted for virtual
> and abstract methods in classes and interfaces, at the moment.
> Preconditions should already work for all method types.
http://bugzilla.gnome.org/show_bug.cgi?id=529680
--
Philip Van Hoof, freelance software developer
home: me at pvanhoof dot be
gnome: pvanhoof at gnome dot org
http://pvanhoof.be/blog
http://codeminded.be
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]