[Bug 24085] New: Spec parser doesn't check that type='' matches tp:type=''.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Sep 22 18:42:03 CEST 2009
http://bugs.freedesktop.org/show_bug.cgi?id=24085
Summary: Spec parser doesn't check that type='' matches
tp:type=''.
Product: Telepathy
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: telepathy-spec
AssignedTo: telepathy-bugs at lists.freedesktop.org
ReportedBy: will.thompson at collabora.co.uk
Suppose you define OhHai as a synonym for a{us} as follows:
<tp:mapping name="Oh_Hai">
<tp:member name="u" name="Contact"/>
<tp:member name="s" name="How_Exciting"/>
</tp:mapping>
And then you annotate a method argument as having that type, but get
the D-Bus type wrong:
<method name="GetParty" tp:name-for-bindings="Get_Party">
<arg direction="in" name="Wear_Party" type="au"/>
<arg direction="out" name="Fly"
type="a{ss}" tp:type="Oh_Hai"/>
<!-- whoops ^ -->
</method>
I'd expect the doc generator to complain, but it did not.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list