Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Fix: Support superTypeParameters (fixes #242) #243

Merged
merged 1 commit into from
Apr 30, 2017

Conversation

azz
Copy link
Contributor

@azz azz commented Apr 30, 2017

Adds the superTypeParameters field to the ClassExpression/ClassDeclaration AST nodes.

prettier/prettier#1422

@eslintbot
Copy link

LGTM

Copy link
Member

@soda0289 soda0289 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thanks!

@soda0289
Copy link
Member

Do you think we should have a new node for class extensions/superClass? That way we could keep the type parameter together with the identifier. Kind of like how we have a ClassImplements node

@soda0289
Copy link
Member

On second thought a new node for super class would mean we differ the estree spec and might cause eslint rules to break.

@azz azz force-pushed the bug/super-type-parameters branch from e5a6259 to d64ef1f Compare April 30, 2017 10:27
@eslintbot
Copy link

LGTM

@azz
Copy link
Contributor Author

azz commented Apr 30, 2017

Just pushed a new test with mixin classes. Does the AST look ok?

@JamesHenry JamesHenry self-requested a review April 30, 2017 11:32
Copy link
Member

@JamesHenry JamesHenry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@JamesHenry JamesHenry merged commit e1ef800 into eslint:master Apr 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants