diff --git a/packages/babel-plugin-transform-regenerator/lib/emit.js b/packages/babel-plugin-transform-regenerator/lib/emit.js index 884f325154..126a1f6692 100644 --- a/packages/babel-plugin-transform-regenerator/lib/emit.js +++ b/packages/babel-plugin-transform-regenerator/lib/emit.js @@ -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 " +