compiler error when trying to send a list of structs containing a list of strings over DBus
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Vala |
Fix Released
|
Medium
|
|||
vala (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
When I try to compile the following code in karmic or lucid I get an error:
client.vala
===========
struct Data {
public int id;
public string[] data;
}
[DBus (name = "org.example.
interface Test : Object {
public abstract int TestMethod (Data[] x) throws DBus.Error;
}
void main () {
var conn = DBus.Bus.get (DBus.BusType.
var test = (Test) conn.get_object ("org.example.
}
========
markus@
client.vala
[... (some never used warnings) ...]
/home/markus/
‘_dbus_
/home/markus/
argument of ‘->’ (have ‘Data’)
/home/markus/
‘test_dbus_
/home/markus/
argument of ‘->’ (have ‘Data’)
error: cc exited with status 256
Compilation failed: 1 error(s), 5 warning(s)
markus@
Vala 0.7.9
Markus
Changed in vala: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
The upstream bugreport has a patch for this issue, it would be nice if this could be fixed for lucid