Currently, we are handling only ExpressionStatement's for debug macro replacement. Unfortunately, the following do not get processed (since they do not include an ExpressionStatement):
function foo() {
return assert(false, 'derp'); // ReturnStatement
}
let qux = () => assert(false, 'herp'); // ArrowFunctionExpression
This is the underlying issue in emberjs/ember-cli-babel#168.
Currently, we are handling only
ExpressionStatement's for debug macro replacement. Unfortunately, the following do not get processed (since they do not include anExpressionStatement):This is the underlying issue in emberjs/ember-cli-babel#168.