Open any QML file and declare a property using Javascript's optional chaining operator ?.. The current syntax region definition will treat is a ternary operator ? : and will incorrectly highlight the text.
(I tried to contact the maintainer two weeks ago but didn't hear back from him. That's why I am creating this issue.)
The qml syntax definition is able to distinguish between the ternary operator and the optional chaining operator. I have attached the patch to fix the bug.
Patch: qml-syntax.patch
9.1.1176
OS: Ubuntu 24.04
Terminal: Gnome Terminal v 3.52
$TERM: xterm-256color
Shell: bash 5.2.21
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
Duplicate of #19988
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()