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

Position of docstrings for union tags is strange #153

Closed
AiOO opened this issue Jul 22, 2017 · 0 comments
Closed

Position of docstrings for union tags is strange #153

AiOO opened this issue Jul 22, 2017 · 0 comments
Assignees
Labels
cat:lang Category: Language design cmp:compiler Component: Compiler backend (e.g., annotation processors, code generators) typ:enhance Type: Enhancement/new feature

Comments

@AiOO
Copy link
Collaborator

AiOO commented Jul 22, 2017

When I want to add some comment about rectangle,

union shape
    = rectangle (point upper-left, point lower-right)
    # Information about a rectangle
    | circle (point origin, offset radius)
    ;

expected postion should be

union shape
    = rectangle (
        # Information about a rectangle
        point upper-left,
        point lower-right
    )
    | circle (point origin, offset radius)
    ;

but I have to add it like below.

union shape
    = rectangle (point upper-left, point lower-right)
    # Information about a rectangle
    | circle (point origin, offset radius)
    ;
@AiOO AiOO added the typ:enhance Type: Enhancement/new feature label Jul 22, 2017
dahlia added a commit to dahlia/nirum that referenced this issue Jul 22, 2017
@dahlia dahlia self-assigned this Jul 22, 2017
@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:enhance Type: Enhancement/new feature
Projects
None yet
Development

No branches or pull requests

2 participants