Skip to content

Conversation

@mysticatea
Copy link
Member

@mysticatea mysticatea commented Feb 7, 2017

This PR upgrades Acorn to latest.
It needs to fix some tests.

  • It improved the error message of parenthesized assignment targets.
  • I fixed the syntax error in 6/destructuring/named-param.
  • It gets correct AST nodes about ExportDeclarations with expressions. (it gets to not make wrong EmptyStatement node.) EDIT: this is a bug.
  • It changed the location of "Illegal 'use strict' directive in function with non-simple parameter list" message.

4 errors about below remain:

@mysticatea
Copy link
Member Author

I guess acornjs/acorn#507 is the last issue to upgrade acorn.

@mysticatea
Copy link
Member Author

Memo: this should fix eslint/eslint#6542.

@mysticatea mysticatea changed the title [WIP] Upgrade: acorn to latest Upgrade: acorn to ^4.0.11 Feb 8, 2017
@mysticatea
Copy link
Member Author

I'm sure this is ready to merge.
I confirmed tests of espree and eslint are passed.

Copy link
Member

@btmills btmills left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@not-an-aardvark not-an-aardvark left a comment

Choose a reason for hiding this comment

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

LGTM

eslint-canary also runs successfully with this change.

@not-an-aardvark
Copy link
Member

Is this ready to merge?

@not-an-aardvark not-an-aardvark merged commit 9d86ba5 into master Mar 18, 2017
@ilyavolodin ilyavolodin deleted the upgrade-acorn branch March 18, 2017 00:17
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.

5 participants