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

_createMacroExpression closes over code that other transforms may edit.

未关闭
#90 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
13
派生
13
PR 合并指标
30 天内没有已合并 PR

描述

Take for instance the following

```ts
assert(`my assertion`, SOME_VAR);
```

This library will close over `SOME_VAR` when building out the transformation ` _createMacroExpression`. Since the built transformations are not flushed until program exit, other transforms that edit or replace `SOME_VAR` will have no affect.

贡献指南

这个仓库没有索引到贡献指南

调研方向

从 _createMacroExpression 转换开始,追踪已构建的转换相对于后续转换何时被刷新。重现 assert("my assertion", SOME_VAR) 的情况,然后验证其他转换对 SOME_VAR 所做的编辑或替换是否反映在最终输出中。

由索引模型根据 Issue 内容生成。

评估

技术栈
babel, typescript
领域
tooling
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。