diff --git a/src/debuggability.js b/src/debuggability.js index cdee9d15b..d0df62bcd 100644 --- a/src/debuggability.js +++ b/src/debuggability.js @@ -400,6 +400,8 @@ function checkForgottenReturns(returnValue, promiseCreated, name, promise, if (returnValue === undefined && promiseCreated !== null && wForgottenReturn) { if (parent !== undefined && parent._returnedNonUndefined()) return; + var bitField = promise._bitField; + if (BIT_FIELD_READ(LENGTH_MASK) === 0) return; if (name) name = name + " "; var msg = "a promise was created in a " + name +