From f53ac0a09c5042cc5dab3d34de58c19f76dfb150 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Mon, 9 Nov 2015 17:37:23 -0800 Subject: [PATCH] remove assertion --- packages/babel-plugin-transform-regenerator/src/emit.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/babel-plugin-transform-regenerator/src/emit.js b/packages/babel-plugin-transform-regenerator/src/emit.js index 6e1b1b6395..40280aebff 100644 --- a/packages/babel-plugin-transform-regenerator/src/emit.js +++ b/packages/babel-plugin-transform-regenerator/src/emit.js @@ -912,8 +912,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 " +