Skip to content

Why isn't BasicBlock autofilled for each type? #173

@iwinux

Description

@iwinux

Currently we need to explicitly specify BasicBlock, set the Type field with consts like BlockTypeTableOfContents. It's very tedious and error-prone (no validation if I set the wrong type for TableOfContentsBlock.BasicBlock.Type).

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