Fix an issue with new update-expression tests.

This commit is contained in:
Logan Smyth
2018-03-04 13:25:31 -08:00
parent c92e8be612
commit aa669ef902
4 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
export let diffLevel = 0;
export function diff() {
if (!--diffLevel) {
console.log("hey");
}
}

View File

@@ -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");
}
}