SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

0 0 0 JavaScript

[compiler] detect and throw on untransformed required features (#32512)

Traverse program after running compiler transform to find untransformed
references to compiler features (e.g. `inferEffectDeps`, `fire`).

Hard error to fail the babel pipeline when the compiler fails to
transform these features to give predictable runtime semantics.
Untransformed calls to functions like `fire` will throw at runtime
anyways, so let's fail the build to catch these earlier.

Note that with this fails the build *regardless of panicThreshold*
M
mofeiZ committed
5398b7115847e87c0053aa719728d8dd1a635ccd
Parent: f3c9560
Committed by GitHub <[email protected]> on 3/14/2025, 3:44:49 PM