[Bug 68726] crash on cpp namespace text completion

Jens Dagerbo jens.dagerbo at swipnet.se
Sat Nov 22 00:02:04 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=68726     
jens.dagerbo at swipnet.se changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |roberto at kdevelop.org
           Severity|crash                       |normal



------- Additional Comments From jens.dagerbo at swipnet.se  2003-11-22 00:01 -------
OK.. I think I understand this one..

If you have:

class A
{
};

and then add a namespaced baseclass:

class A : public B:: <crash>
{
};

it crashes. The problem appears to be that the parser is convinced it has found a function definition, but when this is not the case it goes belly up.

I added a hotfix to avoid the crash, but I'm only changing the severity to normal instead of closing, as the parser is still wrong.

(Curiously though, the hotfix makes the code behave as if it was correct in my test case. I have no idea if it actually is correct though. )

Roberto? :)




More information about the KDevelop-devel mailing list