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
 VA X 1240: Wrong tooltip content
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

PatLuja
Tomato Guru

Belgium
416 Posts

Posted - Jun 28 2004 :  03:39:50 AM  Show Profile
Hello all,

In 1240 I've encountered a little bug. See the following code:
MyClass::MyClass(..., MyEnumType enum, ...)
{
  ...
  m_Enum = enum;
  ...
}
At the this line of code, the bug appears. Hovering over m_Enum gives:
MyEnumType MyClass::m_Enum
which is correct. But for enum it states:
MyEnumType MyClass::enum
instead of
MyEnumType enum
So "MyClass::" was wrongly included.

I've seen this also with other types (like doubles and so on), and when copying the same type from one class into another.
I've tried to make an example, but I didn't succeed yet.

I hope you can look into this matter.

With kind regards,
Patrick Luja

PatLuja
Tomato Guru

Belgium
416 Posts

Posted - Jun 28 2004 :  03:46:01 AM  Show Profile
Hello all,

I found an example that works (at my computer at least):
class TestClass
{
public:
	TestClass(TestClass2 test2);

	double m_Test;
};

class TestClass2
{
public:
	int m_Test2;
};

TestClass::TestClass(TestClass2 test2)
{
	m_Test=test2.m_Test2;
}
m_Test and test2.m_Test2 both state:
double TestClass::m_Test

I guess VA X is somewhat confused here.

With kind regards,
Patrick Luja
Go to Top of Page

PatLuja
Tomato Guru

Belgium
416 Posts

Posted - Jul 01 2004 :  03:20:45 AM  Show Profile
Hello all,

Just a note:
In my example, it might have to do something with the names, maybe it is because m_Test is included fully in m_Test2.
But in my actual case the names where something like graphX and m_GraphX. So the real problem hasn't to do anything with the artificial fact bescribed above.

With kind regards,
Patrick Luja
Go to Top of Page

PatLuja
Tomato Guru

Belgium
416 Posts

Posted - Jul 12 2004 :  02:35:07 AM  Show Profile
Hello all,

Has someone else seen this (or likewise) behaviour too?

Support, could you reproduce it?

With kind regards,
Patrick Luja
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19015 Posts

Posted - Jul 12 2004 :  12:35:56 PM  Show Profile
pasting your example into a new blank .h file in VS .NET 2003 with VAX 1246 i can reproduce this problem.

not a fix, but at least we know it isn't just your computer

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

PatLuja
Tomato Guru

Belgium
416 Posts

Posted - Jul 19 2004 :  01:57:27 AM  Show Profile
Thank you feline.
Go to Top of Page

PatLuja
Tomato Guru

Belgium
416 Posts

Posted - Jul 30 2004 :  04:04:43 AM  Show Profile
(No responce of support yet.)
Support, are you able to reproduce this?
Can this be solved in the near future?

Thank you.

With kind regards,
Patrick Luja
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000