ember-cli / ember-cli/babel-plugin-debug-macros
Handle `CallExpression` for debug macros.
Open
- Dominant language
- TypeScript
- Stars
- 13
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
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`):
```js
function foo() {
return assert(false, 'derp'); // ReturnStatement
}
let qux = () => assert(false, 'herp'); // ArrowFunctionExpression
```
This is the underlying issue in https://github.com/babel/ember-cli-babel/issues/168.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.