Skip to content

Null labels in the constructor of data structures #88

@CoderLion

Description

@CoderLion

Currently data structures cannot have null labels in their constructors, that is, the following code throws an error:

show arr
array arr = {
    value: [1, 2, 3]
    above: null
}

But arr.setText(null, "above") compiles.
It would be nice to have null labels in constructors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions