D6837: Fix bug 381123: crash while parsing PHP code

Matthijs Tijink noreply at phabricator.kde.org
Mon Jul 24 09:42:16 UTC 2017

mtijink added a comment.

  I found another possible fix: removing line 505 (`classDec = dynamic_cast<ClassDeclaration*>(type->declaration(nullptr));`) also fixes the issue, so that seems to be the root cause.
  How should I write this test? The problem only occurs after modification of the file, so I do not know how to test it.

  R52 KDevelop: PHP Support


To: mtijink, #kdevelop, zhigalin
Cc: 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/20170724/871b9f6c/attachment.html>

More information about the KDevelop-devel mailing list