[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 288224] kdevelop crashes when renaming class (python)
From:       Sven Brauch <svenbrauch () googlemail ! com>
Date:       2011-12-22 23:05:16
Message-ID: E1RdrhM-000252-Ai () bugs ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=288224


Sven Brauch <svenbrauch@googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #13 from Sven Brauch <svenbrauch googlemail com>  2011-12-22 23:05:16 ---
Git commit dcad929ca0acbadfeb8230a71d929540c9ec6566 by Sven Brauch.
Committed on 23/12/2011 at 00:03.
Pushed by brauch into branch 'master'.

fix a crash bug when renaming classes

I don't like the fix, as I don't know why it works. Apparently
dec->inSymbolTable()
is true, but the item isn't really in the symbol table while creating the
declaration
after the class has been renamed. It can be worked around by unsetting
inSymbolTable
while creating the declaration and setting it again later. It might be that
this is
in fact a bug in the duchain. Anyway; it works like this.
BUG:288224

M  +3    -1    duchain/declarationbuilder.cpp
M  +2    -1    duchain/pythonducontext.h

http://commits.kde.org/kdev-python/dcad929ca0acbadfeb8230a71d929540c9ec6566

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic