Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Move method implementations 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
ggicci Posted - May 07 2014 : 01:54:44 AM

## 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`



2   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Feb 02 2016 : 7:56:02 PM
case=1247 is fixed in build 2089.
feline Posted - May 07 2014 : 11:24:01 PM
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.

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