Skip to content

Conversation

ariya
Copy link
Contributor

@ariya ariya commented Aug 18, 2015

This is particularly important when you are adopting the forthcoming version of Esprima that adds sourceType to the Program node (jquery/esprima#1159).

Without the change, the node comparison may fail and therefore some unit tests will not pass.

jimfleming added a commit that referenced this pull request Aug 18, 2015
Ignore `sourceType` property when comparing nodes.
@jimfleming jimfleming merged commit 29e3005 into rdio:master Aug 18, 2015
@jimfleming
Copy link
Contributor

Nice, thanks for the heads up.

@ariya
Copy link
Contributor Author

ariya commented Aug 18, 2015

👍 In addition to this, we start to include jsfmt as part of the CI process (jquery/esprima#1288), to ensure that no future version will regress jsfmt!

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

Successfully merging this pull request may close these issues.

2 participants