After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 546603 - Troubles with dynamic DBus.Object and string [][]
Troubles with dynamic DBus.Object and string [][]
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: D-Bus
0.3.x
Other All
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2008-08-06 14:53 UTC by Philip Van Hoof
Modified: 2010-10-16 13:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Philip Van Hoof 2008-08-06 14:53:55 UTC
+++ This bug was initially created as a clone of Bug #546450 +++

These string[][] problems are making any "aas" reply not usable in Vala:

Async situation:

error: internal error: duplicating string[] instances not yet supported
	private void on_get_stats (string [][] items, GLib.Error e) {
				   ^^^^^^^^^^^^^^^^^

private void on_get_stats (string [][] items, GLib.Error e) {
	foreach (string [] pair in items) {
		print ("k:" + pair[0] + " v:" + pair[1] + "\n");
	}
}

Facade.Instance().tracker.GetStats (on_get_stats);
Comment 1 Jürg Billeter 2010-10-16 13:36:49 UTC
commit cc435dd6ec069b87e986fa454e80e5fe80a0df72
Author: Jürg Billeter <j@bitron.ch>
Date:   Sat Oct 16 15:17:23 2010 +0200

    Report error when trying to use stacked arrays
    
    Stacked array support was never completed. Report an error instead of
    generating incorrect C code.
    
    Fixes bug 546603, bug 548428, bug 548429, bug 565865, bug 565872,
    bug 571322, bug 572649, and bug 576611.