Fix declaration name access if not fully parsed

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

Description

Fix declaration name access if not fully parsed

Summary:
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

Reviewers: mwolff, KDevelop, kfunk

Reviewed By: KDevelop, kfunk

Subscribers: kfunk, kdevelop-devel

Differential Revision: https://phabricator.kde.org/D1740

Merged Changes

CommitAuthorDetailsCommitted
46d2612955c8D1740cordlandwehr
Fix declaration name access if not fully parsed 
Jun 1 2016