@samitouri / QOS-React / commits / 54a150dc6e

[compiler][be] Remove completed todo comment

We made block types explicit a long time ago, this comment is super stale ghstack-source-id: 810a34bb4c14a3f4541003db23ffb7ad91aecc8c Pull Request resolved: https://github.com/facebook/react/pull/30633

Joe Savona committed Aug 7, 2024 at 22:09 UTC 54a150dc6e50d606b25b94526f733974b1a687ea
1 file changed -2
compiler/packages/babel-plugin-react-compiler/src/HIR/MergeConsecutiveBlocks.ts
-2
@@ -25,8 +25,6 @@ import {terminalFallthrough, terminalHasFallthrough} from './visitors';
25 * Note that this pass leaves value/loop blocks alone because they cannot
26 * be merged without breaking the structure of the high-level terminals
27 * that reference them.
28 - *
29 - * TODO @josephsavona make value blocks explicit (eg a `kind` on Block).
28 */
29 export function mergeConsecutiveBlocks(fn: HIRFunction): void {
30 const merged = new MergedBlocks();