D6837: Fix bug 381123: crash while parsing PHP code

Alexander Zhigalin noreply at phabricator.kde.org
Wed Jul 26 16:37:42 UTC 2017


zhigalin accepted this revision.
zhigalin added inline comments.
This revision is now accepted and ready to land.

INLINE COMMENTS

> typebuilder.cpp:506
> +
> +                //Actually, this line causes the following "if (classContext)" statement to fail, so this line effectively does nothing
>                  classDec = dynamic_cast<ClassDeclaration*>(type->declaration(nullptr));

Actually this performs a rescan using `CursorInRevision::invalid`

REPOSITORY
  R52 KDevelop: PHP Support

REVISION DETAIL
  https://phabricator.kde.org/D6837

To: mtijink, #kdevelop, zhigalin
Cc: mwolff, zhigalin, apol, kfunk, kdevelop-devel, #kdevelop, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170726/d1ff55ab/attachment.html>


More information about the KDevelop-devel mailing list