Fix failure phase in coalesce tests (#2415)

This commit is contained in:
Gus Caplan 2019-11-11 11:38:26 -08:00 committed by Leo Balter
parent 1bc193528b
commit 9bb90d1a34
4 changed files with 16 additions and 8 deletions

View File

@ -22,8 +22,10 @@ info: |
BitwiseORExpression
features: [coalesce-expression]
negative:
phase: early
phase: parse
type: SyntaxError
---*/
0 && 0 ?? true;
$DONOTEVALUATE();
0 && 0 ?? true;

View File

@ -22,8 +22,10 @@ info: |
BitwiseORExpression
features: [coalesce-expression]
negative:
phase: early
phase: parse
type: SyntaxError
---*/
0 || 0 ?? true;
$DONOTEVALUATE();
0 || 0 ?? true;

View File

@ -23,8 +23,10 @@ info: |
BitwiseORExpression
features: [coalesce-expression]
negative:
phase: early
phase: parse
type: SyntaxError
---*/
0 ?? 0 && true;
$DONOTEVALUATE();
0 ?? 0 && true;

View File

@ -23,8 +23,10 @@ info: |
BitwiseORExpression
features: [coalesce-expression]
negative:
phase: early
phase: parse
type: SyntaxError
---*/
0 ?? 0 || true;
$DONOTEVALUATE();
0 ?? 0 || true;