Skip to content

Error parsing property with literal object value #25

@GTylissanakis

Description

@GTylissanakis

my qml contains the following code:

property var map: {"A": "test", "B": "test"}

and I get the following error:

Unexpected token: punc (:) (line: 22, col: 25, pos: 665)
>>22  property var map: {"A": "test", "B": "test"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions