Skip to content

Recover from ":" semicolon after an Uppercase property name #26

@ratijas

Description

@ratijas

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions