Skip to content

Fix arrow function parens arguments#374

Closed
dodev wants to merge 1 commit into
pangloss:masterfrom
dodev:master
Closed

Fix arrow function parens arguments#374
dodev wants to merge 1 commit into
pangloss:masterfrom
dodev:master

Conversation

@dodev

@dodev dodev commented Apr 13, 2016

Copy link
Copy Markdown

The syntax highlighter showed error when arrow functions had parentheses surrounding their arugemnts:

...
  .then((result) => {
      send(result);
  })
--^ // The last parenthesis of `then` method call was considered excess.

I fixed the regex for args in parenthesis and it seems it works. I'm using it right now.

@davidchambers

Copy link
Copy Markdown
Collaborator

This appears to fix #364. Please open a new pull request against the develop branch, @dodev. Thanks!

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