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
 Distinguishing Between Overloaded Methods
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jmatthias
Senior Member

26 Posts

Posted - Oct 07 2008 :  12:07:44 PM  Show Profile  Reply with Quote
VA does not seem to be able to tell the difference between overloaded methods. e.g. if you select 'Find References' for an overloaded method, VA will return the references to all overloaded versions of the method instead of just the one version that was selected.

Will this ever be fixed? I assume you current only store the method name instead of a 'mangled' version of the name that includes parameter information.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Oct 07 2008 :  3:21:40 PM  Show Profile  Reply with Quote
Differentiate between overloaded methods in find references is on our list to consider:

case=2732

But don't hold your breath: our parser don't understand overloaded methods currently, this is why alt-g does not know which overload to jump to, and offers you all of them.

Edited by - accord on Oct 07 2008 4:14:56 PM
Go to Top of Page

yaro
New Member

9 Posts

Posted - Oct 19 2008 :  05:29:01 AM  Show Profile  Reply with Quote
I also noticed this problem when trying to rename a method - it renames all of them regardless of parameters. This is not very nice. Are there any plans to fix this in near future?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Oct 20 2008 :  09:43:07 AM  Show Profile  Reply with Quote
It is on our list of things to fix, but it is a hard problem. You have to allow for implicit casts, overloaded casting operators, etc, to try and work out which overload is actually being called.

zen is the art of being at one with the two'ness
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