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

No mutability for Enums #143

Open
panagosg7 opened this issue Feb 29, 2016 · 0 comments
Open

No mutability for Enums #143

panagosg7 opened this issue Feb 29, 2016 · 0 comments
Assignees
Labels

Comments

@panagosg7
Copy link
Contributor

This should flag a malformed-type error:

enum SyntaxKind {
    ClassDeclaration
}

export interface Node<M extends ReadOnly> {
    /*@ (Immutable) kind: SyntaxKind<Immutable> */     // FLAG ERROR HERE
    kind: SyntaxKind;
}
@panagosg7 panagosg7 added the bug label Feb 29, 2016
@panagosg7 panagosg7 self-assigned this Feb 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant