Граф коммитов

3 Коммитов

Автор SHA1 Сообщение Дата
Andres Suarez c2cd9e385a Update copyright headers from Facebook to Meta
Reviewed By: aaronabramov

Differential Revision: D33370313

fbshipit-source-id: da0d9de8a0d269141ea9f2c8d931fcfccbde7edb
2021-12-30 15:08:38 -08:00
Riley Dulin 6f0f7d08cf Apply license lint rule to tests with source lines in hermes/test
Reviewed By: zertosh

Differential Revision: D18019587

fbshipit-source-id: e351683dc10e41b4a7b5685d50e66a00b7bede47
2019-10-21 12:36:13 -07:00
Aakash Patel a29f66699e Turn AssignmentExpression end assert into a real check.
Summary:
The assert at the end of parseAssignmentExpression to make sure
that the `checkEndAssignmentExpression` function was kept up to date
would result in crashes if invalid JS was provided to the parser.

To avoid this, we turn that assertion into an actual check with an error,
so that we will report the correct failure.

Now, if the `checkEndAssignmentExpression` function comes out of date,
the parser will report an error instead of crashing but the signal will
still indicate to update `checkEndAssignmentExpression`.

Reviewed By: tmikov

Differential Revision: D17371201

fbshipit-source-id: 473a95b29700349b31c7bab99daf1311de3bd871
2019-09-17 10:06:22 -07:00