Skip to content

Multiple New Tree Blocks are Overwritten #44

Description

@Evelios

When creating two or more Mark.tree blocks within a single document using Mark.manyOf , then the first tree is used for both when parsing the emu file. For example if you have two mark blocks List and Tree, with the block name |> List and |> Tree respectively, then you can only make blocks using those two names as confirmed by the compiler. However, the first item in your manyOf is what is used when the document is actually parsed. For example if you are using Mark.manyOf [ list, tree ] then all |> Tree elements within a document are then are parsed as List elements. The reverse then happend if you do Mark.manyOf [ tree, list ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions