Skip to content

Allow curly brace block for faultdef #3286

@tilkinsc

Description

@tilkinsc

I desire my faultdefs to allow being both a comma-delimited list and a brace list (like an enum)

faultdef OUT_OF_MEMORY,
	INVALID_FREE,
	MISALIGNED,
	INVALID_RANGE,
	NODE_POOL_EXHAUSTED;

And

faultdef
{
	OUT_OF_MEMORY,
	INVALID_FREE,
	MISALIGNED,
	INVALID_RANGE,
	NODE_POOL_EXHAUSTED
}

Should be mutually exclusive.

Image Image

As you can see by the above screenshots, it does get pretty ugly the more faults you declare.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions