Skip to content

Newline after opening parenthesis for tag declaration fails to be parsed #69

Description

@dahlia

Given the following IDL code:

union transport
    = phone_transport (
        text from,
        text to)
    | yellowid_transport (
        text key,
        text to)
    | chanined_transport (
        [transport] transports)
    ;

It currently fails to be parsed:

message_schema/entity.nrm:16:24:
unexpected newline
expecting union tag fields

    = phone_transport (
                       ^

Reported by @yjroot.

Metadata

Metadata

Assignees

Labels

cat:langCategory: Language designcmp:compilerComponent: Compiler backend (e.g., annotation processors, code generators)typ:bugType: Bug/defect

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions