Merge pull request #2723 from devongovett/master

Remove assert from regenerator plugin
This commit is contained in:
Sebastian McKenzie 2015-11-02 19:32:57 +00:00
commit cbefcdc7a1

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 " +