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:30:24 +0100
On Thu, 2009-01-15 at 05:16 -0800, Adam Dingle wrote:
class Foo {
Foo() {
stdout.puts("construct\n");
}
void hello() {
stdout.puts("hello\n");
}
static int main(string[] args) {
Foo f = new Foo();
f.hello();
return 0;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]