Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Array parameters break $MethodArgName$ in 1649

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
SoftGrp Posted - Oct 23 2008 : 06:03:43 AM
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
2   L A T E S T    R E P L I E S    (Newest First)
support Posted - Dec 01 2008 : 07:47:17 AM
case=20543 is fixed in build 1707
feline Posted - Oct 23 2008 : 11:13:03 AM
I am seeing the same effect here. Thank you for the clear description.

case=20543

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000