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

_createMacroExpression closes over code that other transforms may edit.

Aperta
#90 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
13
Fork
13
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.