dillon1000/react
Commit
Browse files Use CompilerError invariant
The CompilerError module's `invariant` is wired up to our bailout system so in compiler passes should be preferred to the raw `invariant` module. We should probably add an internal eslint rule to suggest using CompilerError if the file is in one of the compiler pass directories.
Changed paths2 files
First-parent comparisoncompiler/forget/src/BackEnd/LIRGen.ts ModifiedM compiler/forget/src/BackEnd/SanityCheck.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…