ember-cli / ember-cli/babel-plugin-debug-macros

Handle `CallExpression` for debug macros.

Đang mở
#46 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
13
Fork
13
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.