Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 "Rename" refactoring issue

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
a.chinyakov Posted - Jun 11 2011 : 12:05:31 PM
Consider the following two files in one project:

file.h:

#pragma once

class Base
{
public:
	class Worker
	{
		Worker()
		{}
	};
};



file.cpp:

#include "file.h"


namespace
{

	class Worker
	{
		Worker()
		{}
	};

}


When I apply "Rename" refactoring on the Worker class in unnamed namespace I get Base::Worker class constructor renamed.

Using VS2008 and VA X 10.6.1850.0
2   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Feb 13 2015 : 8:01:57 PM
case=58076 is fixed in build 2059
feline Posted - Jun 13 2011 : 4:33:17 PM
I am seeing the same effect here. Thank you for the clear description.

case=58076

I would not have expected VA to get confused like this. Apologies for the problems this is causing you. Obviously renaming one of the classes, so you no longer have duplicate class names like this will help.

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