Skip to content

Commit 1b17487

Browse files
rlerdorfdantleech
authored andcommitted
Not sure what this was supposed to do, but it breaks parsing
1 parent 04145b1 commit 1b17487

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Parser.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3191,10 +3191,6 @@ private function parsePostfixExpressionRest($expression, $allowUpdateExpression
31913191
return $expression;
31923192
}
31933193

3194-
// property hooks ...
3195-
if ($tokenKind === TokenKind::OpenBraceToken) {
3196-
return $expression;
3197-
}
31983194
if ($tokenKind === TokenKind::ColonColonToken) {
31993195
$expression = $this->parseScopedPropertyAccessExpression($expression, null);
32003196
return $this->parsePostfixExpressionRest($expression);

0 commit comments

Comments
 (0)