]> git.ipfire.org Git - thirdparty/vala.git/commit
libvaladoc: Don't traverse into close circles with parent
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 30 Jul 2019 10:54:56 +0000 (12:54 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 4 Sep 2019 07:32:44 +0000 (09:32 +0200)
commitd144372cfd690471ce9253fbff72de7b66015a72
treec1da625881c1727ba78c2988a29d13c71316b810
parent4e695a4e374df741859651f62e9a554f55991aac
libvaladoc: Don't traverse into close circles with parent

SymbolResolver.resolve_thrown_list() adds error-type nodes which are
allowed to be NodeType.ERROR_DOMAIN and NodeType.CLASS.

This can result in a cycle on invoking Node.accept_all_children(),
Node.parse_comments() or Node.check_comments()

Fixes https://gitlab.gnome.org/GNOME/vala/issues/829
libvaladoc/api/node.vala
valadoc/tests/drivers/api-test.data.vapi
valadoc/tests/drivers/generic-api-test.vala