Skip to content
Snippets Groups Projects
Commit bf1fc77c authored by André Bargull's avatar André Bargull
Browse files

Bug 1787794 - Part 7: Simplify paren-free arrow function parsing. r=arai

Instead of branching around `parenFreeArrow` in multiple places, handle the
paren-free arrow function case in a separate if-block. This also simplifies
the `Token::Modifier` handling, because we can always pass a constant.

Differential Revision: https://phabricator.services.mozilla.com/D155856
parent 0232095d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment