convert to number under boolean context (#2545)
This commit is contained in:
@@ -1037,10 +1037,10 @@ issue_2535: {
|
||||
expect: {
|
||||
y();
|
||||
x() && y();
|
||||
(x(), 0) || y();
|
||||
(x(), 1) && y();
|
||||
x() && y();
|
||||
x() && y();
|
||||
x() && y();
|
||||
(x(), 1) || y();
|
||||
(x(), 0) && y();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user