Re: [Vala] warning: Foo.new never used
- From: Jürg Billeter <j bitron ch>
- To: Adam Dingle <adam medovina org>
- Cc: vala-list gnome org
- Subject: Re: [Vala] warning: Foo.new never used
- Date: Thu, 15 Jan 2009 14:32:11 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]