Assert in duchain during PHP Unit-Test

David Nolden david.nolden.kdevelop at art-master.de
Mon May 11 20:53:17 UTC 2009


Am Montag 11 Mai 2009 22:33:48 schrieb Niko Sams:
> I added because of a duchain bug that did't allow more than about
> 5000(?) declarations
> in one context. Then David added support for that using MonsterBuckets
> or something like that.
> Afaik this test passed before our hackaton - so it could be related to
> the ref-count patches?

I've checked the assertion, and added a comment to it. The problem: You call 
DUChain::self()->removeDocumentChain(..), without calling DUChain::self()-
>addDocumentChain(..) first.

Greetings, David





More information about the KDevelop-devel mailing list