Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index ed04d248d0f49e4befe505cddf3bd22b22da5cbe..ec7605b5404eb214c96dc4b7473b842c55f4d763 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -3381,7 +3381,7 @@ bool CheckAndDeclareArrowParameter(ParserTraits* traits, Expression* expression, |
// Too many parentheses around expression: |
// (( ... )) => ... |
- if (expression->parenthesization_level() > 1) return false; |
+ if (expression->is_multi_parenthesized()) return false; |
// Case for a single parameter: |
// (foo) => ... |