[Differential] [Request, 85 lines] D3427: Get more possible types when subscripting.
flherne (Francis Herne)
noreply at phabricator.kde.org
Sun Nov 20 13:41:07 UTC 2016
flherne created this revision.
flherne added a reviewer: brauch.
flherne set the repository for this revision to rKDEVPYTHON KDev-python.
Restricted Application added a subscriber: kdevelop-devel.
REVISION SUMMARY
Before, `foo[a]` would only consider one possible type of `foo`.
Loop over all possible types and combine the values for each.
This requires https://phabricator.kde.org/D3422 to apply cleanly, but isn't closely tied to it.
TEST PLAN
No test regressions. Adds three new tests, two of which fail without this patch.
Tried it on a few of my projects, it didn't crash.
REPOSITORY
rKDEVPYTHON KDev-python
REVISION DETAIL
https://phabricator.kde.org/D3427
AFFECTED FILES
duchain/expressionvisitor.cpp
duchain/tests/pyduchaintest.cpp
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: flherne, brauch
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20161120/dcba092e/attachment.html>
More information about the KDevelop-devel
mailing list