Remove assert from regenerator plugin
This commit is contained in:
parent
9702ceb074
commit
fde11131a9
@ -923,8 +923,6 @@ Ep.explodeExpression = function(path, ignoreResult) {
|
|||||||
// control the precise order in which the generated code realizes the
|
// control the precise order in which the generated code realizes the
|
||||||
// side effects of those subexpressions.
|
// side effects of those subexpressions.
|
||||||
function explodeViaTempVar(tempVar, childPath, ignoreChildResult) {
|
function explodeViaTempVar(tempVar, childPath, ignoreChildResult) {
|
||||||
assert.ok(childPath instanceof traverse.NodePath);
|
|
||||||
|
|
||||||
assert.ok(
|
assert.ok(
|
||||||
!ignoreChildResult || !tempVar,
|
!ignoreChildResult || !tempVar,
|
||||||
"Ignoring the result of a child expression but forcing it to " +
|
"Ignoring the result of a child expression but forcing it to " +
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user