Author |
Topic |
|
PatLuja
Tomato Guru
Belgium
416 Posts |
Posted - Jun 28 2004 : 03:39:50 AM
|
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
|
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 |
|
|
PatLuja
Tomato Guru
Belgium
416 Posts |
Posted - Jul 01 2004 : 03:20:45 AM
|
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 |
|
|
PatLuja
Tomato Guru
Belgium
416 Posts |
Posted - Jul 12 2004 : 02:35:07 AM
|
Hello all,
Has someone else seen this (or likewise) behaviour too?
Support, could you reproduce it?
With kind regards, Patrick Luja
|
|
|
feline
Whole Tomato Software
United Kingdom
19015 Posts |
Posted - Jul 12 2004 : 12:35:56 PM
|
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 |
|
|
PatLuja
Tomato Guru
Belgium
416 Posts |
Posted - Jul 19 2004 : 01:57:27 AM
|
Thank you feline. |
|
|
PatLuja
Tomato Guru
Belgium
416 Posts |
Posted - Jul 30 2004 : 04:04:43 AM
|
(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 |
|
|
|
Topic |
|