Merge pull request #3161 from tc39/rwaldron/3160

refactor: remove function syntax boundary from AssignmentTargetType templates. Closes #3160
This commit is contained in:
Leo Balter 2021-08-19 10:22:44 -07:00 committed by GitHub
commit 3846d8cc26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
306 changed files with 306 additions and 1224 deletions

View File

@ -9,7 +9,4 @@ info: |
---*/
$DONOTEVALUATE();
function _() {
/*{ assignmenttarget }*/ /*{ operator }*/ /*{ value }*/;
}
/*{ assignmenttarget }*/ /*{ operator }*/ /*{ value }*/;

View File

@ -12,7 +12,4 @@ info: |
---*/
$DONOTEVALUATE();
function _() {
(/*{ assignmenttarget }*/) /*{ operator }*/ /*{ value }*/;
}
(/*{ assignmenttarget }*/) /*{ operator }*/ /*{ value }*/;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
x - y = 1;
}
x - y = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
1 - 2 = 1;
}
1 - 2 = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
true - false = 1;
}
true - false = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
x + y = 1;
}
x + y = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
1 + 2 = 1;
}
1 + 2 = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
true + false = 1;
}
true + false = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
() => {} = 1;
}
() => {} = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
() => ({}) = 1;
}
() => ({}) = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
(x => x) = 1;
}
(x => x) = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
((x) => x) = 1;
}
((x) => x) = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
(() => 1) = 1;
}
(() => 1) = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
(() => true) = 1;
}
(() => true) = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
(() => 1) = 1;
}
(() => 1) = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
async () => {} = 1;
}
async () => {} = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
async () => ({}) = 1;
}
async () => ({}) = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
(async x => x) = 1;
}
(async x => x) = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
(async (x) => x) = 1;
}
(async (x) => x) = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
(async () => 1) = 1;
}
(async () => 1) = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
(async () => true) = 1;
}
(async () => true) = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
(async () => 1) = 1;
}
(async () => 1) = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
x & y = 1;
}
x & y = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
1 & 2 = 1;
}
1 & 2 = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
true & false = 1;
}
true & false = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
x | y = 1;
}
x | y = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
1 | 2 = 1;
}
1 | 2 = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
true | false = 1;
}
true | false = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
x ^ y = 1;
}
x ^ y = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
1 ^ 2 = 1;
}
1 ^ 2 = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
true ^ false = 1;
}
true ^ false = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
f() = 1;
}
f() = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
f()`` = 1;
}
f()`` = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
x ?? y = 1;
}
x ?? y = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
1 ?? 2 = 1;
}
1 ?? 2 = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
true ?? false = 1;
}
true ?? false = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
x == y = 1;
}
x == y = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
1 == 2 = 1;
}
1 == 2 = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
true == false = 1;
}
true == false = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
x != y = 1;
}
x != y = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
1 != 2 = 1;
}
1 != 2 = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
true != false = 1;
}
true != false = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
x == y = 1;
}
x == y = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
1 == 2 = 1;
}
1 == 2 = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
true == false = 1;
}
true == false = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
x !== y = 1;
}
x !== y = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
1 !== 2 = 1;
}
1 !== 2 = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
true !== false = 1;
}
true !== false = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
(x, y = z) = 1;
}
(x, y = z) = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
(x, y = 1) = 1;
}
(x, y = 1) = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
(x, y = true) = 1;
}
(x, y = true) = 1;

View File

@ -13,7 +13,4 @@ info: |
$DONOTEVALUATE();
function _() {
arguments = 1;
}
arguments = 1;

View File

@ -13,7 +13,4 @@ info: |
$DONOTEVALUATE();
function _() {
eval = 1;
}
eval = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
import.meta = 1;
}
import.meta = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
import() = 1;
}
import() = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
(x = y) = 1;
}
(x = y) = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
(x = 1) = 1;
}
(x = 1) = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
(x = true) = 1;
}
(x = true) = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
(x ??= y) = 1;
}
(x ??= y) = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
(x ??= 1) = 1;
}
(x ??= 1) = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
(x ??= true) = 1;
}
(x ??= true) = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
(x &&= y) = 1;
}
(x &&= y) = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
(x &&= 1) = 1;
}
(x &&= 1) = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
(x &&= true) = 1;
}
(x &&= true) = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
(x ||= y) = 1;
}
(x ||= y) = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
(x ||= 1) = 1;
}
(x ||= 1) = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
(x ||= true) = 1;
}
(x ||= true) = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
x-- = 1;
}
x-- = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
x++ = 1;
}
x++ = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
x && y = 1;
}
x && y = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
1 && 2 = 1;
}
1 && 2 = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
true && false = 1;
}
true && false = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
x || y = 1;
}
x || y = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
1 || 2 = 1;
}
1 || 2 = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
true || false = 1;
}
true || false = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
o.f()`` = 1;
}
o.f()`` = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
--x = 1;
}
--x = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
x * y = 1;
}
x * y = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
1 * 2 = 1;
}
1 * 2 = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
true * false = 1;
}
true * false = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
x / y = 1;
}
x / y = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
1 / 2 = 1;
}
1 / 2 = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
true / false = 1;
}
true / false = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
new f() = 1;
}
new f() = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
new f = 1;
}
new f = 1;

View File

@ -18,7 +18,4 @@ info: |
$DONOTEVALUATE();
function _() {
x?.y = 1;
}
x?.y = 1;

View File

@ -17,7 +17,4 @@ info: |
$DONOTEVALUATE();
function _() {
++x = 1;
}
++x = 1;

View File

@ -13,7 +13,4 @@ info: |
$DONOTEVALUATE();
function _() {
async function () {} = 1;
}
async function () {} = 1;

View File

@ -13,7 +13,4 @@ info: |
$DONOTEVALUATE();
function _() {
async function () {} = 1;
}
async function () {} = 1;

View File

@ -13,7 +13,4 @@ info: |
$DONOTEVALUATE();
function _() {
class {} = 1;
}
class {} = 1;

View File

@ -13,7 +13,4 @@ info: |
$DONOTEVALUATE();
function _() {
function() {} = 1;
}
function() {} = 1;

View File

@ -13,7 +13,4 @@ info: |
$DONOTEVALUATE();
function _() {
function * () {} = 1;
}
function * () {} = 1;

View File

@ -13,7 +13,4 @@ info: |
$DONOTEVALUATE();
function _() {
true = 1;
}
true = 1;

View File

@ -13,7 +13,4 @@ info: |
$DONOTEVALUATE();
function _() {
null = 1;
}
null = 1;

View File

@ -13,7 +13,4 @@ info: |
$DONOTEVALUATE();
function _() {
0 = 1;
}
0 = 1;

View File

@ -13,7 +13,4 @@ info: |
$DONOTEVALUATE();
function _() {
'' = 1;
}
'' = 1;

View File

@ -13,7 +13,4 @@ info: |
$DONOTEVALUATE();
function _() {
{} = 1;
}
{} = 1;

View File

@ -13,7 +13,4 @@ info: |
$DONOTEVALUATE();
function _() {
/1/ = 1;
}
/1/ = 1;

View File

@ -13,7 +13,4 @@ info: |
$DONOTEVALUATE();
function _() {
`` = 1;
}
`` = 1;

View File

@ -13,7 +13,4 @@ info: |
$DONOTEVALUATE();
function _() {
this = 1;
}
this = 1;

Some files were not shown because too many files have changed in this diff Show More