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
 "Rename" refactoring issue
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

a.chinyakov
New Member

4 Posts

Posted - Jun 11 2011 :  12:05:31 PM  Show Profile  Reply with Quote
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

Edited by - a.chinyakov on Jun 11 2011 12:07:29 PM

feline
Whole Tomato Software

United Kingdom
19004 Posts

Posted - Jun 13 2011 :  4:33:17 PM  Show Profile  Reply with Quote
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.

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

sean
Whole Tomato Software

USA
2817 Posts

Posted - Feb 13 2015 :  8:01:57 PM  Show Profile  Reply with Quote
case=58076 is fixed in build 2059
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