Skip to content

Cannot define one-element static array of string #124

Description

@kmaehashi

This doesn't work:

main> EVAL ["foo"];
request failed: E0007: Cannot process a statement: {"error":"expression is not foldable: [\"foo\"]","statement":"EVAL [\"foo\"]"}

However this works:

main> EVAL ["foo",];
["foo"]

main> EVAL ["foo", "bar"];
["foo","bar"]

main> EVAL ["foo"::string];
["foo"]

main> EVAL [1];
[1]

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