qmljs: fix order in BoundName

constructor and field order should be consistent

Change-Id: If698fd66cf67ab54c4be1638f19d758a54e33d5f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Fawzi Mohamed
2021-07-20 11:48:55 +02:00
parent 2f13810633
commit 864c1da05b
2 changed files with 3 additions and 3 deletions

View File

@@ -880,8 +880,8 @@ struct QML_PARSER_EXPORT BoundName
};
QString id;
Type typeAnnotationType;
TypeAnnotation *typeAnnotation;
Type typeAnnotationType;
BoundName(const QString &id, TypeAnnotation *typeAnnotation, Type type = Declared)
: id(id), typeAnnotation(typeAnnotation), typeAnnotationType(type)
{}