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

class X implements I {} wrongly converted to class X mixins I {} #124

Open
FezVrasta opened this issue Dec 7, 2020 · 0 comments
Open

class X implements I {} wrongly converted to class X mixins I {} #124

FezVrasta opened this issue Dec 7, 2020 · 0 comments

Comments

@FezVrasta
Copy link

FezVrasta commented Dec 7, 2020

I noticed that flowgen converts class X implements I {} to class X mixins I {}, but it should actually keep it as the original, because that's how Flow expects the syntax to be.

mixin is still valid if we want to extend from multiple classes though (e.g. class X mixins C1, C2 {})

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

1 participant