Re: [Vala] [Genie] simple string example no longer compiles
- From: Abderrahim Kitouni <a kitouni gmail com>
- To: Barry Kauler <bkauler gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] [Genie] simple string example no longer compiles
- Date: Mon, 26 Oct 2009 18:44:13 +0100
Hi,
2009/10/26 Barry Kauler <bkauler gmail com>:
I am asking about
var s = new string
To me, it *does* make sense, but anyway, I am not asking about it's
merits. I would like to know why it compiled before, not now.
It looks like quite legal syntax to me, and the compiler was happy
with it, and if it is now not legal, why not?
The syntax is fine, it's just that string does not have a constructor.
It used to work because valac did not check for this before (I've
recently found the same to be true for Object), whether this should
work or not is something I cannot answer.
HTH,
Abderrahim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]