Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Reset TypeParameters to Identifier #325

Merged
merged 1 commit into from Jun 20, 2016
Merged

Reset TypeParameters to Identifier #325

merged 1 commit into from Jun 20, 2016

Conversation

danez
Copy link
Member

@danez danez commented Jun 18, 2016

The new TypeParameter is currently not known by babel-eslint or eslint, so this fixes it by simply making it a Identifier again.

This could probably also have been done by doing more monkeypatching and making escope aware that TypeParameter exists and can be visited.

I also enabled some tests that were skipped, but are now working as it seems.

@danez
Copy link
Member Author

danez commented Jun 20, 2016

@hzoo If you are okay with that we should also create a new release that works completely with babylon 6.8.1

@hzoo
Copy link
Member

hzoo commented Jun 20, 2016

This could probably also have been done by doing more monkeypatching and making escope aware that TypeParameter exists and can be visited.

This can be a TODO or we move all that functionality out as a separate thing/rule and make babel-eslint just the compat part.

@hzoo hzoo merged commit 568f1ef into babel:master Jun 20, 2016
@danez danez deleted the fix-babylon branch June 20, 2016 21:12
nicolo-ribaudo pushed a commit to babel/babel that referenced this pull request Nov 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants