As written in PR #2856, this code isn't quite right. An ArgumentNode object can evaluate as False (if it's arguments attribute is an empty sequence). If that happens, we then try to hand the location kwarg down to print(), rather than removing it, which causes an invalid keyword argument exception. This failure can be seen e.g. when generating for gnome-twitch (See [1]) [1] https://travis-ci.org/jon-turney/meson-corpus-test/jobs/343017109pull/3120/head
parent
1e82416a93
commit
845dbfcbbc
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue