| Summary: | Spec parser doesn't check that type='' matches tp:type=''. | ||
|---|---|---|---|
| Product: | Telepathy | Reporter: | Will Thompson <will> |
| Component: | tp-spec | Assignee: | Simon McVittie <smcv> |
| Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
| Severity: | normal | ||
| Priority: | medium | Keywords: | patch |
| Version: | unspecified | ||
| Hardware: | Other | ||
| OS: | All | ||
| URL: | http://git.collabora.co.uk/?p=user/smcv/telepathy-spec-smcv.git;a=shortlog;h=refs/heads/tools | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
Fixed in git, will be in 0.19.6 |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
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.