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

Breaking: Remove TypeAnnotation wrapper from constraint #325

Merged
merged 1 commit into from
Jun 15, 2017

Conversation

JamesHenry
Copy link
Member

This builds on #324, I'll rebase it after that one gets merged.

This PR addresses the difference outlined here https://github.com/JamesHenry/tsep-babylon-test/issues/10, removing the TypeAnnotation wrapper around the constraint of the type parameter.

I'm on a roll of discovering issues with my snapshot testing setup - we are catching thrown errors and writing them to error snapshots, but we were missing extra handling to make sure we fail the test on an unrecognised AST_NODE_TYPE, so I have addressed that by rethrowing.

@JamesHenry JamesHenry requested a review from soda0289 June 14, 2017 08:29
@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!

@JamesHenry JamesHenry force-pushed the type-parameters-convergence branch from 785ad11 to f004236 Compare June 14, 2017 15:24
@eslintbot
Copy link

Thanks for the pull request, @JamesHenry! I took a look to make sure it's ready for merging and found some changes are needed:

  • Pull requests with code require an issue to be mentioned at the end of the commit summary, such as (fixes #1234). Please update the commit summary with an issue (file a new issue if one doesn't already exist).

Can you please update the pull request to address these?

(More information can be found in our pull request guide.)

@JamesHenry JamesHenry merged commit 9cab9d3 into master Jun 15, 2017
@JamesHenry JamesHenry deleted the type-parameters-convergence branch June 15, 2017 11:47
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.

3 participants