Remove assert from regenerator plugin

This commit is contained in:
Devon Govett 2015-11-01 09:58:04 -08:00
parent 9702ceb074
commit fde11131a9

View File

@ -923,8 +923,6 @@ Ep.explodeExpression = function(path, ignoreResult) {
// control the precise order in which the generated code realizes the
// side effects of those subexpressions.
function explodeViaTempVar(tempVar, childPath, ignoreChildResult) {
assert.ok(childPath instanceof traverse.NodePath);
assert.ok(
!ignoreChildResult || !tempVar,
"Ignoring the result of a child expression but forcing it to " +