← Back to team overview

registry team mailing list archive

[Bug 689821] [NEW] Nested types should be allowed in aliases

 

Public bug reported:

Binary package hint: gobject-introspection

A typedef like the following:

typedef GSList TestSList;


Generates the following in gir:

<alias name="SList" c:type="TestSList">
  <type name="GLib.SList" c:type="GSList">
    <type name="gpointer" c:type="gpointer"/>
  </type>
</alias>


Which g-ir-compiler does not like:

Test-0.0.gir:16:50: error: The element <type> is invalid here
error parsing file Test-0.0.gir: The element <type> is invalid here


See upstream bug for more details including a testcase.  This is causing a build failure in at least libgda4.

** Affects: gobject-introspection
     Importance: Unknown
         Status: Unknown

** Affects: gobject-introspection (Ubuntu)
     Importance: Undecided
         Status: New

** Bug watch added: GNOME Bug Tracker #637177
   https://bugzilla.gnome.org/show_bug.cgi?id=637177

** Also affects: gobject-introspection via
   https://bugzilla.gnome.org/show_bug.cgi?id=637177
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for GObject Introspection.
https://bugs.launchpad.net/bugs/689821

Title:
  Nested types should be allowed in aliases



Follow ups

References