2016-12-10 | Paul Boddie | raw files shortlog changelog graph | Make consolidated function table signatures use the position information, thus preventing conflicts involving signatures with the same parameter names in different positions. | |
generator.py (file) |
1.1 --- a/generator.py Fri Dec 09 23:51:47 2016 +0100 1.2 +++ b/generator.py Sat Dec 10 00:11:49 2016 +0100 1.3 @@ -542,7 +542,7 @@ 1.4 l.append("") 1.5 else: 1.6 name, pos = parameter 1.7 - l.append(name) 1.8 + l.append("%s_%s" % (name, pos)) 1.9 return l and "__".join(l) or "__void" 1.10 1.11 def get_signature_for_callable(self, path):