dillon1000/react

Commit

Ensure unique BlockId for nested functions

This PR ensures that we use a single id space for the `BlockId`s in both 
top-level functions as well as any nested FunctionExpressions (note, we already 
do this for `IdentifierId`). This will make it easier for follow-ups to merge 
the CFG of nested functions (ie useMemo bodies) with the parent without block id 
collisions.
Browse files
Changed paths2 files
First-parent comparison
M compiler/forget/src/HIR/Environment.ts ModifiedM compiler/forget/src/HIR/HIRBuilder.ts Modified
Patch

Files changed

Rendering syntax-highlighted changes…