From 9234ff4eac87a5b635a6f19fa12e081d628dcf61 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 28 Sep 2011 14:01:26 +0200 Subject: Skip analysis of params that have been (skip)'d Otherwise we get warnings for params that have been skipped https://bugzilla.gnome.org/show_bug.cgi?id=660352 --- giscanner/introspectablepass.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/giscanner/introspectablepass.py b/giscanner/introspectablepass.py index 95d54b0a..77a0e4f7 100644 --- a/giscanner/introspectablepass.py +++ b/giscanner/introspectablepass.py @@ -74,6 +74,9 @@ class IntrospectablePass(object): else: target = None + if node.skip: + return + if not node.type.resolved: self._parameter_warning(parent, node, "Unresolved type: %r" % (node.type.unresolved_string, )) -- cgit v1.2.1