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

allow annotations in fields with inplace tuple #954

Open
nofun97 opened this issue Jul 16, 2020 · 1 comment
Open

allow annotations in fields with inplace tuple #954

nofun97 opened this issue Jul 16, 2020 · 1 comment
Labels
enhancement P1 Medium priority

Comments

@nofun97
Copy link
Member

nofun97 commented Jul 16, 2020

Currently sysl grammar does not allow annotations for an inplace tuple.

App:
    !type Tuple:
        @attr = "abc"
        a <:
            @attr = "abc"
            b <: string

This should be allowed to add annotations to the field Tuple.a.

@anzdaddy
Copy link
Member

Make sure to also support inline annotations:

App:
    !type Tuple [attr = "abc"]:
        a [attr = "abc"] <:
            b <: string

@orlade-anz orlade-anz added the P1 Medium priority label Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement P1 Medium priority
Projects
None yet
Development

No branches or pull requests

3 participants