[Vala] [Genie] simple string example no longer compiles
- From: Barry Kauler <bkauler gmail com>
- To: vala-list gnome org
- Subject: [Vala] [Genie] simple string example no longer compiles
- Date: Mon, 26 Oct 2009 05:30:45 +0800
Hi guys,
There is a very simple Genie program that compiled ok early in 2009:
init
var s = new string
s += "My name is Barry"
print s
I have got Vala out of git yesterday, and the above program will not
compile, with this error:
arrays.gs:2.10-2.19: error: `string' does not have a default constructor
var s = new string
Could someone explain this to me? I don't understand why this code was
ok before but no longer.
Regards,
Barry Kauler
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]