GNOME Bugzilla – Bug 629004
Unresolved element-type does not warn
Last modified: 2015-02-07 16:50:52 UTC
* Return value: (element-type Actor) (transfer container): Produces without any warning an introspectable="0" output in the .gir file. (Should be element-type Clutter.Actor)
Created attachment 170312 [details] [review] Add a warning for unresolved types Warn when using an annotation which will end up as unresolved.
Review of attachment 170312 [details] [review]: This looks generally OK to me.
Attachment 170312 [details] pushed as 4577bf1 - Add a warning for unresolved types
After commit 4577bf1 I get the following crash in g-ir-scanner when compiling gtksourceview. GISCAN GtkSource-3.0.gir Traceback (most recent call last):
+ Trace 223775
sys.exit(scanner_main(sys.argv))
main.transform()
self._namespace.walk(self._pass_read_annotations)
node.walk(callback, [])
res = callback(self, chain)
self._apply_annotations_function(node, chain)
self._apply_annotations_callable(node, chain, block)
self._apply_annotations_params(node, node.parameters, block)
self._apply_annotations_param(parent, param, tag)
self._apply_annotations_param_ret_common(parent, param, tag)
node.type = self._resolve(param_type.one(), node.type)
text = parent.name
make[4]: *** [GtkSource-3.0.gir] Error 1
(In reply to comment #4) > After commit 4577bf1 I get the following crash in g-ir-scanner when compiling > gtksourceview. > > GISCAN GtkSource-3.0.gir > Traceback (most recent call last): > Hi José, I can't reproduce this on Fedora 14 beta x86_64 with g-i 4b94812bb and gtksource ff7db545b0c. Is it still an issue?
Well, I can't reproduce neither, so I am closing this
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]