You must be registered to post a reply. Click here to register.
T O P I C R E V I E W
macjohnmcc
Posted - Jul 07 2009 : 4:53:10 PM When I rename the variables that are in the parameters for a function definition it renames the parameter and the references but does not rename the values in the declaration (I'm modifying member functions in a class).
This doesn't really bite you until you go and later use the Change Signature option on the function and it puts the variable names from the declaration over the names in the function definition.
Also renaming variables in the declaration should rename them in the definition as well. Consistency is good. Also not hosing yourself later using Change Signature is even better!
1 L A T E S T R E P L I E S (Newest First)
feline
Posted - Jul 09 2009 : 09:51:23 AM Currently this is a known limitation of Rename, and it is something we are looking into fixing:
case=1140
for now we recommend using Change Signature to rename the parameter, since this is designed to update both the declaration and the implementation.