Bug 438774 - QML parsing error on required keyword
Summary: QML parsing error on required keyword
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: QML/JavaScript (other bugs)
Version First Reported In: 5.6.0
Platform: Appimage Linux
: NOR minor
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-16 21:37 UTC by Ian H
Modified: 2024-03-24 12:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian H 2021-06-16 21:37:54 UTC
The new keywords introduced in Qt 5.15 including 'required' break the QML parsing, throwing errors saying that it's missing brackets.

example: 

Pane{
 required property int foo // throws errors here
}
Comment 1 Ian H 2021-07-30 13:44:26 UTC
newer javascript keywords also do the same (e.g. let)