diff options
| author | Sami Shalayel <sami.shalayel@qt.io> | 2024-10-16 10:28:09 +0200 |
|---|---|---|
| committer | Sami Shalayel <sami.shalayel@qt.io> | 2024-10-24 14:19:22 +0200 |
| commit | f4e2177d498b8d71440cd3c4ca73e120450400e7 (patch) | |
| tree | 45b2a4492338fb7e1d6632bc1b301c31596624ed /src/quickdialogs/quickdialogsquickimpl/qquickplatformfontdialog.cpp | |
| parent | a68c36300eb693fd9e0dc0f3923dd1084c6cbb14 (diff) | |
qmllsutils: support call expressions in resolveExpressionType
Add a new IdentifierType called "NotAnIdentifier" which is used by
resolveExpressionType() for expressions, and use it when resolving the
type of callexpressions.
This fixes the recursive call of resolveExpressionType() when processing
`Qt.point().x` for example, as it now returns something when resolving
the left hand side `Qt.point()`.
This allows completion to suggest stuff after `Qt.point().`.
Pick-to: 6.8
Fixes: QTBUG-127776
Change-Id: I3cbee987c0677eb6d2b90fab44e982c49d0dd4fa
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/quickdialogs/quickdialogsquickimpl/qquickplatformfontdialog.cpp')
0 files changed, 0 insertions, 0 deletions
