PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 260 - Can't modify argument name of a function added with add-function tag.
: Can't modify argument name of a function added with add-function tag.
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: ApiExtractor
: HEAD
: All All
: P5 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-07-08 11:01 EEST by Hugo Parente Lima
Modified: 2010-08-04 15:18 EEST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hugo Parente Lima 2010-07-08 11:01:41 EEST
When I try to modify the argument name of a function added with add-function
tag ApiExtractor uses the type name instead of the provided argument name.

e.g:

<add-function signature='method(int, int)'>
    <modify-argument index='2'>\
         <rename to='varName' />\
    </modify-argument>\
</add-function>\

When I call arg->argumentName() it returns "int" instead of "varName".
Comment 1 Hugo Parente Lima 2010-07-09 11:22:46 EEST
Fixed in commits:

apiextractor/73bcaae8d2c4131be34b48c81e537de71aa2dbd5
generatorrunner/0e2f7543d283f37cd5c47028b663b415572f576f
shiboken/ecb3ad016b75c5ae235f17a245817bea41aad3c4