Closed zeenix closed 1 year ago
Thanks so much for reporting this with all the details. Turns out it's been a forgotten issue already known. But it's great you reported cause now I've easy access to reproducer. But let's track it on #248.
marked this issue as a duplicate of #248
marked this issue as related to #248
In GitLab by @ivakam on Sep 22, 2022, 24:13
I've implemented a Dictionary struct as per the FAQ as follows:
This struct is used in my interface struct that uses the dbus_interface macro with the following getter/setter methods:
This fails to compile with the following error:
If I remove the metadata field (and methods) from the interface, it compiles without any issues.
This does not feel like intended behavior since the Dictionary struct explicitly derives Value and OwnedValue to allow casting to and from, which is precisely what the compile error is about.