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

_createMacroExpression closes over code that other transforms may edit.

Open
#90 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
13
Forks
13
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.