Skip to content

Parse error if a randomElement has a full stop in it #20

@robertlagrant

Description

@robertlagrant

Copied from here to the upstream.

String

Works:

    (thing:Thing { number: {randomElement:['Hello']} } *10)

Doesn't work:

    (thing:Thing { number: {randomElement:['Hello.']} } *10)

    // The part "(thing:Thing { number: {randomElement:['Hello.']} } *10)" could not be parsed, check it for type errors.

Number

Works:

    (thing:Thing { number: {randomElement:[1]} } *10)

Doesn't work:

    (thing:Thing { number: {randomElement:[1.1]} } *10)

    // The part "(thing:Thing { number: {randomElement:[1.1]} } *10)" could not be parsed, check it for type errors.

Number in string

Works:

    (thing:Thing { number: {randomElement:['1']} } *10)

Doesn't work:

    (thing:Thing { number: {randomElement:['1.1']} } *10)

    // The part "(thing:Thing { number: {randomElement:['1.1']} } *10)" could not be parsed, check it for type errors.

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