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
 Move method implementations issue
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ggicci
Starting Member

China
1 Posts

Posted - May 07 2014 :  01:54:44 AM  Show Profile  Reply with Quote

## My Environment

- VS2013 Pro
quote:
Microsoft Visual Studio Professional 2013
Version 12.0.30110.00 Update 1


- Visual Assist 2029
quote:
License: trial
VA_X.dll file version 10.8.2029.0 built 2014.02.24
DevEnv.exe version 12.0.30110.0 Professional
msenv.dll version 12.0.30110.0
Comctl32.dll version 6.10.7601.17514
Windows 7 6.1 Build 7601 Service Pack 1
4 processors (x86-64, WOW64)
Language info: 936, 0x804, 0x2d


## Issue


I implemented some getters in a header file. And then use the "Move Method Implementations to Source File..." function to move them to source file. There're some typedefs in the class. And the return values of the getters are of that types. But VA does not append the scope resolutions for them. See my following screenshots.

`Header File`




`Source File`




Am dog dog dog, take me home___________________

Edited by - ggicci on May 07 2014 08:29:39 AM

feline
Whole Tomato Software

United Kingdom
15984 Posts

Posted - May 07 2014 :  11:24:01 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=1247

Here the problem is making the return type a reference. Remove the & from the return type, and VA correctly qualifies the return type. Knowing this might help you work around the problem occasionally, but having to add the & back on may be more error prone than qualifying the return type after the Move Implementation to Source File.

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

sean
Whole Tomato Software

USA
2641 Posts

Posted - Feb 02 2016 :  7:56:02 PM  Show Profile  Reply with Quote
case=1247 is fixed in build 2089.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000