Re: [Vala] [Genie] simple string example no longer compiles

2009-10-26 Thread Barry Kauler
Okay, I'll post this to the bugzilla. On 10/26/09, Barry Kauler bkau...@gmail.com wrote: 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

Re: [Vala] [Genie] simple string example no longer compiles

2009-10-26 Thread Julian Andres Klode
Am Montag, den 26.10.2009, 05:30 +0800 schrieb Barry Kauler: 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

Re: [Vala] [Genie] simple string example no longer compiles

2009-10-26 Thread Raphael Bosshard
Hey there, Could someone explain this to me? I don't understand why this code was ok before but no longer. Why not simply var s = instead of new string? In my opinion, having a constructor for string which takes a string does not make any sense. Why not? 'string' is a class like any

Re: [Vala] [Genie] simple string example no longer compiles

2009-10-26 Thread Barry Kauler
I know that you can just do var s = 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

Re: [Vala] [Genie] simple string example no longer compiles

2009-10-26 Thread Abderrahim Kitouni
Hi, 2009/10/26 Barry Kauler bkau...@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  

Re: [Vala] [Genie] simple string example no longer compiles

2009-10-26 Thread Jamie McCracken
On Mon, 2009-10-26 at 18:44 +0100, Abderrahim Kitouni wrote: Hi, 2009/10/26 Barry Kauler bkau...@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.

[Vala] Genie: simple string example no longer compiles

2009-10-25 Thread Barry Kauler
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

[Vala] [Genie] simple string example no longer compiles

2009-10-25 Thread Barry Kauler
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