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

flow parses invalid variance on spread #3566

Closed
danez opened this issue Mar 23, 2017 · 2 comments
Closed

flow parses invalid variance on spread #3566

danez opened this issue Mar 23, 2017 · 2 comments

Comments

@danez
Copy link
Contributor

danez commented Mar 23, 2017

I think this should not parse. At least the variance does not have any effect on the AST.

class A {}
type C = {
 -...A
}
@samwgoldman
Copy link
Member

Thanks! Resolved in 5313075

@danez
Copy link
Contributor Author

danez commented Mar 23, 2017

Oh sorry, didn't see the commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants