Summary: | crash on cpp namespace text completion | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Pau Estalella <paue> |
Component: | Code completion | Assignee: | KDevelop Developers <kdevelop-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | roberto |
Priority: | NOR | ||
Version: | 3.0.0b1 | ||
Target Milestone: | --- | ||
Platform: | Debian stable | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Pau Estalella
2003-11-21 12:00:47 UTC
BTW, I'm on a Suse 8.2 platform, using a compiled from sources KDevelop. Confirmed. Exact same backtrace. 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? :) I just realized that the "cannot complete from namespace" problem is already reported, and since the crash is fixed... Closing. (in part a dupe of bug #58502) Change back to CRASH to be correct in the bug database. |