Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Array parameters break $MethodArgName$ in 1649
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

SoftGrp
Starting Member

1 Posts

Posted - Oct 23 2008 :  06:03:43 AM  Show Profile  Reply with Quote
I've modified the Refactor Document Method snippet to use the $MethodArgName$ macro. Whenever I apply this operation on a function which contains array parameters the square brackets are included in the argument name.

For example, the function
void foo(int x, int y[], int z)

would produce
x
y[]
z


The same problem happens if the brackets are not empty, i.e:
void foo(int x, int y[3], int z)

would produce
x
y[3]
z

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Oct 23 2008 :  11:13:03 AM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=20543

zen is the art of being at one with the two'ness
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Dec 01 2008 :  07:47:17 AM  Show Profile  Reply with Quote
case=20543 is fixed in build 1707
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000