Hi Adam,

On Thu, 2009-01-15 at 05:16 -0800, Adam Dingle wrote:
> On a tiny program, Vala warns that a constructor is unused when in fact 
> it gets called:
> [...]
> ==========
> 
> $ valac hello.vala
> hello.vala:2.2-2.4: warning: method `Foo.new' never used
>     Foo() {
>     ^^^
> Compilation succeeded - 1 warning(s)
> $ ./hello
> construct
> hello
> $
> 
> This is a bug, and I should report it in Bugzilla... right?

Yes, it was a bug. However, I just fixed it a bit more than half an hour
ago (r2343). It will be fixed in the next release.

Jürg

_______________________________________________
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to