Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
dahlia opened this issue Aug 24, 2016 · 1 comment
Closed
Assignees
Labels
cat:lang Category: Language design cmp:compiler Component: Compiler backend (e.g., annotation processors, code generators) typ:bug Type: Bug/defect

Comments

@dahlia
Copy link
Member

dahlia commented Aug 24, 2016

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.

@dahlia dahlia added the typ:bug Type: Bug/defect label Aug 24, 2016
dahlia added a commit to dahlia/nirum that referenced this issue Aug 25, 2016
@dahlia dahlia self-assigned this Aug 25, 2016
@dahlia dahlia added this to the The first release: 0.1.0 milestone Aug 25, 2016
@dahlia
Copy link
Member Author

dahlia commented Aug 26, 2016

@yjroot Fixed it.

@dahlia dahlia added cat:lang Category: Language design cmp:compiler Component: Compiler backend (e.g., annotation processors, code generators) labels Aug 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat:lang Category: Language design cmp:compiler Component: Compiler backend (e.g., annotation processors, code generators) typ:bug Type: Bug/defect
Projects
None yet
Development

No branches or pull requests

1 participant