Philip Chimento 615a2eb9a1 Fix tests for private reference with logical assignment
There were three things wrong with the 'and', 'or', and 'nullish' tests
that I added as part of #2940:

1. They were in the wrong folder (should be
   expressions/logical-assignment, not expressions/compound-assignment)
2. The tests for ||= and ??= on readonly accessor properties were
   incorrect. These assignments would short-circuit if the getter
   returned 1 as it previously did, so PutValue would not throw.
3. The tests for ||= and ??= on private methods were invalid, as a
   method always evaluates to true in a boolean context, and is not
   nullish, so these would always short-circuit.

I've removed the invalid private method cases, fixed the readonly
accessor cases, and added new templates to test the short-circuit
behaviour as well as the non-short-circuit behaviour.

Closes: #3413
2022-02-21 15:38:59 -05:00
..
2021-10-05 16:24:16 -04:00
2021-10-01 16:38:56 -04:00
2021-10-13 14:18:32 -04:00
2021-08-19 11:52:55 -04:00
2021-10-01 16:38:56 -04:00
2021-10-01 16:38:56 -04:00
2021-10-05 16:24:16 -04:00
2021-09-16 16:34:28 -04:00
2021-10-22 09:00:00 -04:00
2021-10-01 16:38:56 -04:00
2021-01-28 16:03:01 -08:00
2021-10-01 16:38:56 -04:00
2021-01-28 16:03:01 -08:00
2021-10-01 16:38:56 -04:00
2019-12-02 10:42:08 -05:00
2020-06-03 13:25:03 -04:00