Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Change Signature & Document Problem

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
wanzi Posted - Jul 17 2006 : 04:30:56 AM
Problem 1:

namespace Refactor
{
    class RTest
    {
        void Func(int a);
    }
}

namespace Refactor
{
    
    void RTest::Func(int a)
    {
        return a*10;
    }
    
}



Click Change Signature, and rename the param a to b, only the function declaration changes correctly. The code in definition block and param list remain same, but the name of the function changes to

void Refactor::RTest::Func(int a)


But if the definiton is like what is produced by clicking Create Implementation
e.g.

namespace Refactor
{
}
void Refactor::RTest::Func(int a)
{
    return a*10;
}

The result is correct.

Problem 2:
When function definition is like case 1 above(The definition is inside the namespace block)
After clicking Document Method:

//************************************
// Method: Func
// FullName: Refactor::RTest::Func
// Access: public
// Returns: int RTest::
// Qualifier:
// Parameter: int a
//************************************

The return type is wrong
4   L A T E S T    R E P L I E S    (Newest First)
support Posted - Aug 08 2006 : 01:12:43 AM
Problem 1, case=1541, is fixed in build 1531.

Case 1727 if fixed as well.
feline Posted - Jul 20 2006 : 5:42:31 PM
i have left myself a note on case=1541 to see if this is fixed when the code is in a cpp file. if not then i will put in a new bug report for this.
wanzi Posted - Jul 19 2006 : 02:08:27 AM
quote:
Originally posted by feline

problem 1, are you seeing this with the code in the header file? if so then this looks like a known bug which is hopefully fixed in 1531.



No, the code is in the source file.

feline Posted - Jul 18 2006 : 6:42:23 PM
problem 1, are you seeing this with the code in the header file? if so then this looks like a known bug which is hopefully fixed in 1531.

problem 2 seems to be a new one

case=1727

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