Fix an issue with new update-expression tests.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
export let diffLevel = 0;
|
||||
|
||||
export function diff() {
|
||||
if (!--diffLevel) {
|
||||
console.log("hey");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.diff = diff;
|
||||
exports.diffLevel = void 0;
|
||||
let diffLevel = 0;
|
||||
exports.diffLevel = diffLevel;
|
||||
|
||||
function diff() {
|
||||
if (!(exports.diffLevel = diffLevel = diffLevel - 1)) {
|
||||
console.log("hey");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user