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";;
>         Item item = {uri};
> 
>         stdout.printf("item.uri: %s\n", item.uri);
>         stdout.printf("     uri: %s\n", uri);
>     }
> 

This was bug 583603 and is now fixed in master.

Jürg

_______________________________________________
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to