QML icon indicating copy to clipboard operation
QML copied to clipboard

Recover from ":" semicolon after an Uppercase property name

Open ratijas opened this issue 1 year ago • 0 comments

Apparently, with custom parser it is legal to have Uppercase property names in QML:

    ListModel {
        id: baseModel
        ListElement {
            Description: "Us"
        }
        ListElement {
            Description: "Them"
        }
    }

But currently the rules that process property names aren't stopping at semicolon or at "}" closing braces, resulting in broken syntax and unclosed meta.block contexts/scopes:

image

ratijas avatar Nov 14 '23 15:11 ratijas