Quick-Turn-Studio / CLionSupportForQt

19 stars 0 forks source link

Using `undefined` in a property declaration breaks parsing #48

Closed bkarpati closed 1 year ago

bkarpati commented 3 years ago

QML editor version: 0.9.10-2020.3+ CLion versoion: 2021.2.1

It seems that using the undefined keyword in a property declaration breaks subsequent parsing. This can affect just the line itself or in extreme cases the entire rest of the file.

image Reported error: QmlTokenType.CLOSE_BRACE or QmlTokenType.COMMAND_END expected, got '&'

Extreme case: image Reported error: QmlTokenType.CLOSE_BRACE, QmlTokenType.CLOSE_PARENTHESIS or QmlTokenType.COMMAND_END expected, got ')'

grabusr commented 1 year ago

Hi Bence

Finally we were able to rewrite QML Editor from scratch. Bug is fixed with 2023.1.0 version