Re: [Vala] Storing strings inside structs fails.

2009-09-27 Thread Jürg Billeter
On Sun, 2009-09-20 at 13:57 +0200, Julian Andres Klode wrote: > storing a string inside a struct does not work. > > If you compile the following Vala code: > struct Item { > public string uri; > } > > public static void main() { > var uri = "http://google.de";; >

[Vala] Storing strings inside structs fails.

2009-09-20 Thread Julian Andres Klode
Hi, storing a string inside a struct does not work. If you compile the following Vala code: struct Item { public string uri; } public static void main() { var uri = "http://google.de";; Item item = {uri}; stdout.printf("item.uri: %s\n", item.uri);