Re: [Vala] Storing strings inside structs fails.
- From: Jürg Billeter <j bitron ch>
- To: Julian Andres Klode <jak jak-linux org>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Storing strings inside structs fails.
- Date: Sun, 27 Sep 2009 10:56:17 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]