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

Comments

Projects
None yet
2 participants
@AiOO
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)
    ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment