Fix declaration name access if not fully parsed

Authored by cordlandwehr on Jun 1 2016, 7:25 PM.



Fixes the crash in KDE bug #363713 that is caused by requesting code
completion on a not fully parsed QML file. For details, please see
backtrace in bug report.

BUG: 363713

Diff Detail

R33 KDevPlatform
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
cordlandwehr updated this revision to Diff 4147.Jun 1 2016, 7:25 PM
cordlandwehr retitled this revision from to Fix declaration name access if not fully parsed.
cordlandwehr updated this object.
cordlandwehr edited the test plan for this revision. (Show Details)
cordlandwehr added reviewers: KDevelop, mwolff.
Restricted Application added a subscriber: kdevelop-devel. · View Herald TranscriptJun 1 2016, 7:25 PM
kfunk accepted this revision.Jun 2 2016, 7:24 AM
kfunk added a reviewer: kfunk.
kfunk added a subscriber: kfunk.

-> 5.0

This revision is now accepted and ready to land.Jun 2 2016, 7:24 AM
This revision was automatically updated to reflect the committed changes.